pkg/flags/selective_string.go
func (ss *SelectiveStringValue) Valids() []string {
	s := make([]string, 0, len(ss.valids))
	for k := range ss.valids {
		s = append(s, k)
	}
	sort.Strings(s)
	return s
}
func (ss *SelectiveStringValue) Valids() []string {
	s := make([]string, 0, len(ss.valids))
	for k := range ss.valids {
		s = append(s, k)
	}
	sort.Strings(s)
	return s
}
func ( ss * SelectiveStringValue ) Valids ( ) [ ] string { s := make ( [ ] string , 0 , len ( ss . valids ) ) for k := range ss . valids { s = append ( s , k ) } sort . Strings ( s ) return s }
// Valids returns the list of valid strings.
Valids returns the list of valid strings .