Mercurial > gemma
diff pkg/controllers/report.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 | 847de131893a |
children |
line wrap: on
line diff
--- a/pkg/controllers/report.go Tue Feb 20 21:28:56 2024 +0100 +++ b/pkg/controllers/report.go Tue Feb 20 22:22:57 2024 +0100 @@ -32,7 +32,7 @@ "github.com/xuri/excelize/v2" ) -func listReports(req *http.Request) (jr mw.JSONResult, err error) { +func listReports(*http.Request) (jr mw.JSONResult, err error) { path := config.ReportPath() if path == "" { err = mw.JSONError{