mirror of
https://github.com/Xevion/glance.git
synced 2025-12-06 01:15:08 -06:00
Remove unused function
This commit is contained in:
@@ -5,7 +5,6 @@ import (
|
|||||||
"html/template"
|
"html/template"
|
||||||
"math"
|
"math"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
|
||||||
|
|
||||||
"golang.org/x/text/language"
|
"golang.org/x/text/language"
|
||||||
"golang.org/x/text/message"
|
"golang.org/x/text/message"
|
||||||
@@ -54,7 +53,6 @@ var globalTemplateFunctions = template.FuncMap{
|
|||||||
|
|
||||||
return template.HTML(value + ` <span class="color-base size-h5">` + label + `</span>`)
|
return template.HTML(value + ` <span class="color-base size-h5">` + label + `</span>`)
|
||||||
},
|
},
|
||||||
"hasPrefix": strings.HasPrefix,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func mustParseTemplate(primary string, dependencies ...string) *template.Template {
|
func mustParseTemplate(primary string, dependencies ...string) *template.Template {
|
||||||
|
|||||||
Reference in New Issue
Block a user