From c53a1998c589a544b25d53f6e6fdf0f24a4df25b Mon Sep 17 00:00:00 2001 From: Joe Chen Date: Thu, 2 Feb 2023 21:25:25 +0800 Subject: all: replace `interface{}` with `any` (#7330) Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> --- internal/template/template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/template/template.go') diff --git a/internal/template/template.go b/internal/template/template.go index 445c0881..9c6ce5b1 100644 --- a/internal/template/template.go +++ b/internal/template/template.go @@ -39,7 +39,7 @@ var ( // FuncMap returns a list of user-defined template functions. func FuncMap() []template.FuncMap { funcMapOnce.Do(func() { - funcMap = []template.FuncMap{map[string]interface{}{ + funcMap = []template.FuncMap{map[string]any{ "BuildCommit": func() string { return conf.BuildCommit }, -- cgit v1.2.3