ValueCreator is responsible for creating a flag.Value emulation as well as custom formatting T specifies the type C specifies the config for the type
| 40 | // T specifies the type |
| 41 | // C specifies the config for the type |
| 42 | type ValueCreator[T any, C any] interface { |
| 43 | Create(T, *T, C) Value |
| 44 | ToString(T) string |
| 45 | } |
| 46 | |
| 47 | // NoConfig is for flags which dont need a custom configuration |
| 48 | type NoConfig struct{} |
no outgoing calls
no test coverage detected