// StringSlice converts a slice of string pointers to a slice of
// string values. Elements that are nil are converted to empty strings.
StringSlice converts a slice of string pointers to a slice of
string values. Elements that are nil are converted to empty strings.
// StringSlice converts a slice of string pointers to a slice of // string values . Elements that are nil are converted to empty strings .
func StringSlice(src []*string) []string {
	dst := make([]string, len(src))
	for i := 0; i < len(src); i++ {
		if s := src[i]; s != nil {
			dst[i] = *s
		} else {
			dst[i] = ""
		}
	}
	return dst
}
func StringSlice ( src [ ] * string ) [ ] string { dst := make ( [ ] string , len ( src ) ) for i := 0 ; i < len ( src ) ; i ++ { if s := src [ i ] ; s != nil { dst [ i ] = * s } else { dst [ i ] = " " } } return dst }
StringSlice converts a slice of string pointers to a slice of
string values.
StringSlice converts a slice of string pointers to a slice of string values .