Codu quality patch in order to get merged with master

This commit is contained in:
Amalvy Arthur 2018-12-31 16:50:19 +01:00
parent 29add0224c
commit db421c828b
4 changed files with 4 additions and 6 deletions

View file

@ -61,7 +61,7 @@ func (u users) Set(username string, key, data string) {
go uf.write()
}
// Get all known usernames
// GetUsernames all usernames stored in settings
func (u users) GetUsernames() []string {
u.mutex.Lock()
defer u.mutex.Unlock()