Documentation ¶
Index ¶
- type Config
- func (c *Config) Decode(out interface{}) error
- func (c *Config) LoadFile(filename string) error
- func (c *Config) LoadGlob(pattern string) error
- func (c *Config) LoadJSON(data []byte) error
- func (c *Config) LoadJSONString(s string) error
- func (c *Config) LoadTOML(data []byte) error
- func (c *Config) LoadTOMLString(s string) error
- func (c *Config) LoadYAML(data []byte) error
- func (c *Config) LoadYAMLString(s string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Data map[string]interface{}
}
func (*Config) LoadJSONString ¶
func (*Config) LoadTOMLString ¶
func (*Config) LoadYAMLString ¶
Click to show internal directories.
Click to hide internal directories.