Documentation ¶
Index ¶
- Variables
- func FlagEnv(n string) config.Option
- func FlagErrorHandling(eh flag.ErrorHandling) config.Option
- func FlagSet(f *flag.FlagSet) config.Option
- func FlagSetName(n string) config.Option
- func FlagUsage(fn func()) config.Option
- func MapDelim(s string) config.Option
- func NewConfig(opts ...config.Option) config.Config
- func SliceDelim(s string) config.Option
- func TimeFormat(s string) config.Option
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultStructTag = "flag" ErrInvalidValue = errors.New("invalid value specified") DefaultSliceDelim = "," DefaultMapDelim = "," )
Functions ¶
func FlagErrorHandling ¶ added in v3.8.7
func FlagErrorHandling(eh flag.ErrorHandling) config.Option
FlagErrorHandling set flag set error handling
func FlagSetName ¶ added in v3.8.7
FlagSetName set flag set name
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.