Documentation ¶ Index ¶ Variables type Config func ParseConfig(args []string, stdout, stderr io.Writer) (*Config, error) type ConfigSet func LoadConfigSet(path string) (*ConfigSet, error) func (c *ConfigSet) Find(name string) (*Config, bool) Constants ¶ This section is empty. Variables ¶ View Source var ( ErrExit = errors.New("Exit") ) Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { config.Config Success bool `yaml:"success"` } func ParseConfig ¶ func ParseConfig(args []string, stdout, stderr io.Writer) (*Config, error) type ConfigSet ¶ type ConfigSet struct { Presets map[string]*Config `yaml:"presets"` } func LoadConfigSet ¶ func LoadConfigSet(path string) (*ConfigSet, error) func (*ConfigSet) Find ¶ func (c *ConfigSet) Find(name string) (*Config, bool) Source Files ¶ View all Source files config.goflag.gousage.go Click to show internal directories. Click to hide internal directories.