diff pkg/controllers/manualimports.go @ 5712:6270951dda28 revive-cleanup

/interface{}/any/
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 20 Feb 2024 22:37:51 +0100
parents 5f47eeea988d
children
line wrap: on
line diff
--- a/pkg/controllers/manualimports.go	Tue Feb 20 22:22:57 2024 +0100
+++ b/pkg/controllers/manualimports.go	Tue Feb 20 22:37:51 2024 +0100
@@ -29,7 +29,7 @@
 	mw "gemma.intevation.de/gemma/pkg/middleware"
 )
 
-func importModel(req *http.Request) interface{} {
+func importModel(req *http.Request) any {
 	kind := mux.Vars(req)["kind"]
 	ctor := imports.ImportModelForJobKind(imports.JobKind(kind))
 	if ctor == nil {