aboutsummaryrefslogtreecommitdiff
path: root/cmd/web/flagSliceString.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/web/flagSliceString.go')
-rw-r--r--cmd/web/flagSliceString.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/cmd/web/flagSliceString.go b/cmd/web/flagSliceString.go
new file mode 100644
index 0000000..ec06966
--- /dev/null
+++ b/cmd/web/flagSliceString.go
@@ -0,0 +1,12 @@
+package main
+
+type FlagSliceString []string
+
+func (f *FlagSliceString) String() string {
+ return ""
+}
+
+func (f *FlagSliceString) Set(val string) error {
+ *f = append(*f, val)
+ return nil
+}