diff pkg/auth/opendb.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 a0892b578553
children c64dba002726
line wrap: on
line diff
--- a/pkg/auth/opendb.go	Fri Aug 02 16:37:24 2019 +0200
+++ b/pkg/auth/opendb.go	Fri Aug 02 17:08:58 2019 +0200
@@ -28,9 +28,9 @@
 
 var (
 	// ErrNoMetamorphUser is returned if no metamorphic user is configured.
-	ErrNoMetamorphUser = errors.New("No metamorphic user configured")
+	ErrNoMetamorphUser = errors.New("no metamorphic user configured")
 	// ErrNotLoggedIn is returned if there is the user is not logged in.
-	ErrNotLoggedIn = errors.New("Not logged in")
+	ErrNotLoggedIn = errors.New("not logged in")
 )
 
 // OpenDB opens up a database connection with a given username and password.