From af04605d7d41b8944338360d96236572c766d3df Mon Sep 17 00:00:00 2001 From: Svilen Markov <7613769+svilenmarkov@users.noreply.github.com> Date: Thu, 15 May 2025 13:57:27 +0100 Subject: [PATCH] Remove unused function --- internal/glance/templates.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/glance/templates.go b/internal/glance/templates.go index 8164eb0..699772d 100644 --- a/internal/glance/templates.go +++ b/internal/glance/templates.go @@ -5,7 +5,6 @@ import ( "html/template" "math" "strconv" - "strings" "golang.org/x/text/language" "golang.org/x/text/message" @@ -54,7 +53,6 @@ var globalTemplateFunctions = template.FuncMap{ return template.HTML(value + ` ` + label + ``) }, - "hasPrefix": strings.HasPrefix, } func mustParseTemplate(primary string, dependencies ...string) *template.Template {