diff pkg/auth/store.go @ 4160:7cccf7fef3e8

Made 'golint' and 'staticcheck' happy with auth package.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 02 Aug 2019 17:08:58 +0200
parents 0db742c7813d
children 866eae1bd888
line wrap: on
line diff
--- a/pkg/auth/store.go	Fri Aug 02 16:37:24 2019 +0200
+++ b/pkg/auth/store.go	Fri Aug 02 17:08:58 2019 +0200
@@ -25,7 +25,7 @@
 
 // ErrNoSuchToken is returned if a given token does not
 // exists th the session store.
-var ErrNoSuchToken = errors.New("No such token")
+var ErrNoSuchToken = errors.New("no such token")
 
 // Sessions is the global connection pool.
 var Sessions *SessionStore