From 67a0f63773b19fbcaf5e687d065e11a50bf677ae Mon Sep 17 00:00:00 2001 From: Konrad Wojas Date: Tue, 24 Oct 2017 17:48:18 +0800 Subject: [PATCH] Run goimports on htpasswd.go --- htpasswd.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/htpasswd.go b/htpasswd.go index 52ef657..8fffdb7 100644 --- a/htpasswd.go +++ b/htpasswd.go @@ -38,11 +38,11 @@ import ( // HtpasswdFile is a map for usernames to passwords. type HtpasswdFile struct { - mutex sync.Mutex - path string - stat os.FileInfo + mutex sync.Mutex + path string + stat os.FileInfo throttle chan struct{} - Users map[string]string + Users map[string]string } // NewHtpasswdFromFile reads the users and passwords from a htpasswd file and returns them. If an error is encountered, @@ -54,9 +54,9 @@ func NewHtpasswdFromFile(path string) (*HtpasswdFile, error) { } h := &HtpasswdFile{ - mutex: sync.Mutex{}, - path: path, - stat: stat, + mutex: sync.Mutex{}, + path: path, + stat: stat, throttle: make(chan struct{}), }