all: Run go fix ./...

This commit is contained in:
Bjørn Erik Pedersen
2026-06-07 17:02:03 +02:00
parent cf18b827e2
commit 781fabf4e4
10 changed files with 29 additions and 44 deletions
+2 -2
View File
@@ -214,8 +214,8 @@ func (t *TemplateFuncsNamespace) toJSON(ctx context.Context) ([]byte, error) {
return nil, nil
}
ctxType := reflect.TypeOf(tctx)
for i := range ctxType.NumMethod() {
method := ctxType.Method(i)
for method := range ctxType.Methods() {
method := method
if ignoreFuncs[method.Name] {
continue
}