Mercurial > gemma
diff pkg/controllers/publish.go @ 5711:2dd155cc95ec revive-cleanup
Fix all revive issue (w/o machine generated stuff).
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 20 Feb 2024 22:22:57 +0100 |
parents | c64dba002726 |
children |
line wrap: on
line diff
--- a/pkg/controllers/publish.go Tue Feb 20 21:28:56 2024 +0100 +++ b/pkg/controllers/publish.go Tue Feb 20 22:22:57 2024 +0100 @@ -21,7 +21,7 @@ mw "gemma.intevation.de/gemma/pkg/middleware" ) -func published(req *http.Request) (mw.JSONResult, error) { +func published(*http.Request) (mw.JSONResult, error) { return mw.JSONResult{ Result: struct { Internal []models.IntEntry `json:"internal"`