diff controllers/user.go @ 241:3b688fe04c39

No omitempty if JSON serialising PostgreSQL errors.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 26 Jul 2018 18:08:58 +0200
parents 9012e4045da4
children d39f897fae16
line wrap: on
line diff
--- a/controllers/user.go	Thu Jul 26 17:56:02 2018 +0200
+++ b/controllers/user.go	Thu Jul 26 18:08:58 2018 +0200
@@ -8,8 +8,9 @@
 	"regexp"
 	"strings"
 
+	"github.com/gorilla/mux"
+
 	"gemma.intevation.de/gemma/auth"
-	"github.com/gorilla/mux"
 )
 
 type (