Documentation ¶
Index ¶
- type Config
- func (cf *Config) Bool(path string) (ok bool)
- func (cf *Config) Get(path string) (value string)
- func (cf *Config) Integer(path string) (value int)
- func (cf *Config) Load(file string) (err error)
- func (cf *Config) Section(name string) Section
- func (cf *Config) Set(path string, value string) (err error)
- func (cf *Config) SetMany(values map[string]string) (err error)
- type ConfigError
- type Section
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
type ConfigError ¶
Config is returned when there is a syntax error in an INI file
func (*ConfigError) Error ¶
func (e *ConfigError) Error() string
Click to show internal directories.
Click to hide internal directories.