chore: style and gofmt (#622)

This commit is contained in:
1138-4EB authored and GitHub committed 2019-01-08 19:40:14 +01:00
1 parent a70b9e20a7
commit d0fd97d943
6 files changed
+47 -32

No files matched your search

+3 -3
View File
@@ -43,14 +43,14 @@ func runRules(st *storage.Storage, cmd *cobra.Command, users func(*users.User),
return
}
settings, err := st.Settings.Get()
s, err := st.Settings.Get()
checkErr(err)
if global != nil {
global(settings)
global(s)
}
printRules(settings.Rules, id)
printRules(s.Rules, id)
}
func getUserIdentifier(flags *pflag.FlagSet) interface{} {