aboutsummaryrefslogtreecommitdiff
path: root/resources.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-18 20:10:45 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-18 20:11:03 +0800
commit8402acf959f8d8c8faad9c8d9e9f28c68b486c74 (patch)
tree1989e1a3b07974f5a9663df30443dd2dd02108c9 /resources.go
parentgit_hooks_client -> hookc (diff)
downloadforge-8402acf959f8d8c8faad9c8d9e9f28c68b486c74.tar.gz
forge-8402acf959f8d8c8faad9c8d9e9f28c68b486c74.tar.zst
forge-8402acf959f8d8c8faad9c8d9e9f28c68b486c74.zip
Remove underscores from Go code, pt 1
Diffstat (limited to '')
-rw-r--r--resources.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources.go b/resources.go
index 41d15d7..1a2b706 100644
--- a/resources.go
+++ b/resources.go
@@ -35,7 +35,7 @@ var resources_fs embed.FS
var templates *template.Template
-func load_templates() (err error) {
+func loadTemplates() (err error) {
m := minify.New()
m.Add("text/html", &html.Minifier{TemplateDelims: [2]string{"{{", "}}"}, KeepDefaultAttrVals: true})