Documentation
¶
Index ¶
- func SetDefaultConfig(config *Config)
- type Config
- func (config *Config) Bool(key string) bool
- func (config *Config) BoolKeys() []string
- func (config *Config) Default()
- func (config *Config) Float(key string) float64
- func (config *Config) FloatKeys() []string
- func (config *Config) From(filename string) error
- func (config *Config) Int(key string) int
- func (config *Config) IntKeys() []string
- func (config *Config) Literal(boolOptions map[string]bool, stringOptions map[string]string, ...)
- func (config *Config) SetBool(key string, value bool)
- func (config *Config) SetFloat(key string, value float64)
- func (config *Config) SetInt(key string, value int)
- func (config *Config) SetString(key string, value string)
- func (config *Config) String(key string) string
- func (config *Config) StringKeys() []string
- func (config *Config) To(filename string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetDefaultConfig ¶
func SetDefaultConfig(config *Config)
Types ¶
Click to show internal directories.
Click to hide internal directories.