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