newListValue creates a new listValue with the specified validator.
()
| 27 | |
| 28 | // newListValue creates a new listValue with the specified validator. |
| 29 | func newListValue() *listValue { |
| 30 | var values []string |
| 31 | return &listValue{ |
| 32 | values: values, |
| 33 | validator: allowAnyValue, |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | func (opts *listValue) String() string { |
| 38 | if len(opts.values) == 0 { |
no outgoing calls
no test coverage detected
searching dependent graphs…