aboutsummaryrefslogtreecommitdiff
path: root/template_funcs.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-11 11:15:42 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-11 11:15:42 +0800
commit252921635a661a0231ca713565fa37b0faacd793 (patch)
tree47c2a8d08aa093bffecf9b08bf74d0052aea23e8 /template_funcs.go
parent.editorconfig: Init (diff)
downloadforge-252921635a661a0231ca713565fa37b0faacd793.tar.gz
forge-252921635a661a0231ca713565fa37b0faacd793.tar.zst
forge-252921635a661a0231ca713565fa37b0faacd793.zip
*.go: Reformat
Diffstat (limited to 'template_funcs.go')
-rw-r--r--template_funcs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/template_funcs.go b/template_funcs.go
index 08932ba..19a92ec 100644
--- a/template_funcs.go
+++ b/template_funcs.go
@@ -10,6 +10,6 @@ func first_line(s string) string {
return before
}
-func base_name (s string) string {
+func base_name(s string) string {
return path.Base(s)
}