master
BackupHostFile
func BackupHostFile(hostFile *txeh.Hosts) (string, error) { homeDirLocation, err := os.UserHomeDir() if err != nil { return "", err }