aboutsummaryrefslogtreecommitdiff
path: root/template_funcs.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-13 00:31:48 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-13 00:32:01 +0800
commitd87f80d3e14990e5d9fc83990ff04e29affa3a94 (patch)
tree5df543f16b96388c1dc7c6456c24d8b0d66b9d5d /template_funcs.go
parentREADME.md: Add a bit of detail (diff)
downloadforge-d87f80d3e14990e5d9fc83990ff04e29affa3a94.tar.gz
forge-d87f80d3e14990e5d9fc83990ff04e29affa3a94.tar.zst
forge-d87f80d3e14990e5d9fc83990ff04e29affa3a94.zip
*.go: Mass rename files for clarity
Diffstat (limited to 'template_funcs.go')
-rw-r--r--template_funcs.go15
1 files changed, 0 insertions, 15 deletions
diff --git a/template_funcs.go b/template_funcs.go
deleted file mode 100644
index 19a92ec..0000000
--- a/template_funcs.go
+++ /dev/null
@@ -1,15 +0,0 @@
-package main
-
-import (
- "path"
- "strings"
-)
-
-func first_line(s string) string {
- before, _, _ := strings.Cut(s, "\n")
- return before
-}
-
-func base_name(s string) string {
- return path.Base(s)
-}