pass configuration of parsing to value
(c multiValueParsingConfig)
| 151 | |
| 152 | // pass configuration of parsing to value |
| 153 | func (f *FlagBase[T, C, V]) setMultiValueParsingConfig(c multiValueParsingConfig) { |
| 154 | tracef("setMultiValueParsingConfig %T, %+v", f.value, f.value) |
| 155 | if cf, ok := f.value.(multiValueParsingConfigSetter); ok { |
| 156 | cf.setMultiValueParsingConfig(c) |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | func (f *FlagBase[T, C, V]) PreParse() error { |
| 161 | newVal := f.Value |
nothing calls this directly
no test coverage detected