Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Map map[string]interface{}
}
Config holds a nested map of config values and provides helper functions for easier access and type casting.
type Value ¶
type Value struct {
// contains filtered or unexported fields
}
Value is returned from Get and has receiver methods for casting to various types.
func (Value) Bool ¶
Bool converts the raw to a bool and panics if it cannot be represented. The first default is returned if raw is not defined.
Click to show internal directories.
Click to hide internal directories.