From a83befa0d111a0ba6fac52d763e93c76a2ef94d4 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 19 Dec 2025 12:52:30 +0100 Subject: all: use any instead of interface{} Any is the preferred over interface{} now in Go. --- pkg/html/html.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/html') diff --git a/pkg/html/html.go b/pkg/html/html.go index e077153d1..0da3674ea 100644 --- a/pkg/html/html.go +++ b/pkg/html/html.go @@ -205,7 +205,7 @@ func formatStringList(list []string) string { return strings.Join(list, ", ") } -func dereferencePointer(v interface{}) interface{} { +func dereferencePointer(v any) any { reflectValue := reflect.ValueOf(v) if !reflectValue.IsNil() && reflectValue.Kind() == reflect.Ptr { elem := reflectValue.Elem() -- cgit mrf-deployment