Mercurial > gemma
diff pkg/controllers/user.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 | 79155213c4da |
children |
line wrap: on
line diff
--- a/pkg/controllers/user.go Tue Feb 20 22:22:57 2024 +0100 +++ b/pkg/controllers/user.go Tue Feb 20 22:37:51 2024 +0100 @@ -323,10 +323,10 @@ var ( columns []string positions []string - args []interface{} + args []any ) - update := func(column string, value interface{}) { + update := func(column string, value any) { columns = append(columns, column) positions = append(positions, "$"+strconv.Itoa(len(positions)+1)) args = append(args, value)