gitlab.com/evatix-go/core@v1.3.55/coredata/coredynamic/SliceItemsAsStringsAnyMust.go (about) 1 package coredynamic 2 3 import "reflect" 4 5 func SliceItemsAsStringsAnyMust(any interface{}) []string { 6 reflectVal := reflect.ValueOf(any) 7 8 items, err := SliceItemsAsStrings(reflectVal) 9 10 if err != nil { 11 panic(err) 12 } 13 14 return items 15 }