diff options
Diffstat (limited to 'template_funcs.go')
-rw-r--r-- | template_funcs.go | 15 |
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) -} |