WARNING: this package unstable and developing slowly.
flagconfig supports these struct field types:
- string
- uint, uint64
- uint8, uint16, uint32
- int, int64
- int8, int16, int32
- bool
- float64
- slices of any supported type
- maps (keys and values of any supported type)
- encoding.TextUnmarshaler
- encoding.BinaryUnmarshaler
- time.Duration
- embedded structs using these fields
- flag.Value
Inspired by envconfig