FlagValue is an interface that users can implement to bind different flags to viper.
| 11 | // FlagValue is an interface that users can implement |
| 12 | // to bind different flags to viper. |
| 13 | type FlagValue interface { |
| 14 | HasChanged() bool |
| 15 | Name() string |
| 16 | ValueString() string |
| 17 | ValueType() string |
| 18 | } |
| 19 | |
| 20 | // pflagValueSet is a wrapper around *pflag.ValueSet |
| 21 | // that implements FlagValueSet. |
no outgoing calls
no test coverage detected