aboutsummaryrefslogtreecommitdiff
path: root/string_slice.go
diff options
context:
space:
mode:
Diffstat (limited to 'string_slice.go')
-rw-r--r--string_slice.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/string_slice.go b/string_slice.go
index b7096e8..20d94ba 100644
--- a/string_slice.go
+++ b/string_slice.go
@@ -14,7 +14,7 @@ func newStringSliceValue(val []string, p *[]string) *stringSliceValue {
func (s *stringSliceValue) Set(val string) error {
v := strings.Split(val, ",")
- *s = stringSliceValue(v)
+ *s = append(*s, v...)
return nil
}
func (s *stringSliceValue) Type() string {