Documentation ¶
Index ¶
- type Config
- func (cfg *Config) Add(name string, value ...interface{}) error
- func (cfg *Config) Compile() ([]byte, error)
- func (cfg *Config) Embed(name string, value []byte) error
- func (cfg *Config) Enable(name string) error
- func (cfg *Config) MustAdd(name string, value ...interface{})
- func (cfg *Config) MustEmbed(name string, value []byte)
- func (cfg *Config) MustEnable(name string)
- func (cfg *Config) MustSet(name string, value ...interface{})
- func (cfg *Config) Remove(name string) error
- func (cfg *Config) Set(name string, value ...interface{}) error
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
}
func (*Config) MustEnable ¶
Click to show internal directories.
Click to hide internal directories.