diff pkg/models/common.go @ 4847:4847ac70103a

Made staticcheck happy. - error strings should not end with punctuation or a newline (ST1005) - error strings should not be capitalized (ST1005)
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 18 Nov 2019 11:54:20 +0100
parents 8080007d3c06
children d19fdf3d2099
line wrap: on
line diff
--- a/pkg/models/common.go	Thu Nov 14 14:53:15 2019 +0100
+++ b/pkg/models/common.go	Mon Nov 18 11:54:20 2019 +0100
@@ -25,8 +25,8 @@
 )
 
 var (
-	errNoString    = errors.New("Not a string")
-	errNoByteSlice = errors.New("Not a byte slice")
+	errNoString    = errors.New("not a string")
+	errNoByteSlice = errors.New("not a byte slice")
 )
 
 // WGS84 is the EPSG of the World Geodetic System 1984.