diff pkg/controllers/routes.go @ 1693:cdc8933949f2

Controllers: Resolved the remaining golint issues with this package.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 03 Jan 2019 17:46:59 +0100
parents 53304db85888
children 7c54babe10f7
line wrap: on
line diff
--- a/pkg/controllers/routes.go	Mon Dec 31 11:13:49 2018 +0100
+++ b/pkg/controllers/routes.go	Thu Jan 03 17:46:59 2019 +0100
@@ -26,6 +26,7 @@
 	"gemma.intevation.de/gemma/pkg/models"
 )
 
+// BindRoutes binds all the API endpoints to the exposed router.
 func BindRoutes(m *mux.Router) {
 
 	api := m.PathPrefix("/api").Subrouter()