Value is the interface to the dynamic value stored in a flag. (The default value is represented as a string.) If a Value has an IsBoolFlag() bool method returning true, the command-line parser makes -name equivalent to -name=true rather than using the next command-line argument. Set is called once
| 247 | // |
| 248 | // Set is called once, in command line order, for each flag present. |
| 249 | type Value interface { |
| 250 | String() string |
| 251 | Set(string) error |
| 252 | } |
| 253 | |
| 254 | // Getter is an interface that allows the contents of a Value to be retrieved. |
| 255 | // It wraps the Value interface, rather than being part of it, because it |
no outgoing calls
no test coverage detected