Versions in this module Expand all Collapse all v0 v0.36.4 Aug 21, 2026 Changes in this version + const Delimiter + const Flag + const NoFlag + const ShortFlag + var ErrBadConfig = errors.New("bad configuration file") + var ErrBadValue = errors.New("bad configuration value") + var ErrUnknownKey = errors.New("unknown configuration key") + var Names = []string + func Flatten(nested map[string]any) map[string]any + func Parse(data []byte) (map[string]any, error) + func SampleConfigName() string + func Split(key string) (section, name string) + type Flags struct + func Register(fs *flag.FlagSet) *Flags + func (f *Flags) Discover(start string) (string, error) + type Result struct + Ignored []string + Set []string + func Apply(fs *flag.FlagSet, values map[string]any, schema Schema) (Result, error) + type Schema map[string]string + func (s Schema) Merge(more Schema) (Schema, error) + func (s Schema) Sections() []string + type YAML struct + func (YAML) Marshal(values map[string]any) ([]byte, error) + func (YAML) Unmarshal(data []byte) (map[string]any, error)