aboutsummaryrefslogtreecommitdiff
path: root/internal/template/template.go
diff options
context:
space:
mode:
authorJoe Chen <jc@unknwon.io>2023-02-02 21:25:25 +0800
committerGitHub <noreply@github.com>2023-02-02 21:25:25 +0800
commitc53a1998c589a544b25d53f6e6fdf0f24a4df25b (patch)
tree1c3c9d693ba551eecfbc535be942e40b5acf9cf7 /internal/template/template.go
parent614382fec0ba05149785539ab93560d4d42c194d (diff)
all: replace `interface{}` with `any` (#7330)
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Diffstat (limited to 'internal/template/template.go')
-rw-r--r--internal/template/template.go2
1 files changed, 1 insertions, 1 deletions
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
},