diff options
Diffstat (limited to '')
-rw-r--r-- | template_funcs.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/template_funcs.go b/template_funcs.go index 1c68650..08932ba 100644 --- a/template_funcs.go +++ b/template_funcs.go @@ -1,7 +1,7 @@ package main import ( - "path/filepath" + "path" "strings" ) @@ -11,5 +11,5 @@ func first_line(s string) string { } func base_name (s string) string { - return filepath.Base(s) + return path.Base(s) } |