diff --git a/type.go b/type.go index d9f9a4b..9f5d6d6 100644 --- a/type.go +++ b/type.go @@ -63,6 +63,9 @@ func NullString() **string { } func Strings(v []string) *[]string { + if v == nil { + v = []string{} + } return &v }