diff options
Diffstat (limited to 'common/files/filename.go')
-rw-r--r-- | common/files/filename.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/files/filename.go b/common/files/filename.go new file mode 100644 index 0000000..725563c --- /dev/null +++ b/common/files/filename.go @@ -0,0 +1,7 @@ +package files + +import "fmt" + +func CombineFileName(base string, ext string) string { + return fmt.Sprintf("%s.%s", base, ext) +} |