Mercurial > gemma
diff pkg/controllers/printtemplates.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 | 4394daeea96a |
children |
line wrap: on
line diff
--- a/pkg/controllers/printtemplates.go Tue Feb 20 22:22:57 2024 +0100 +++ b/pkg/controllers/printtemplates.go Tue Feb 20 22:37:51 2024 +0100 @@ -85,7 +85,7 @@ filter := buildFilterTerm("template_type = ANY($%d) ", types) var stmt strings.Builder - var args []interface{} + var args []any stmt.WriteString(listPrintTemplatesSQL) filter.serialize(&stmt, &args)