mirror of
https://github.com/glanceapp/glance.git
synced 2025-06-21 02:18:22 +02:00
Remove unused function
This commit is contained in:
parent
c67eb4d2c0
commit
af04605d7d
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user