Documentation
¶
Overview ¶
package maps provides some useful functions for working with maps.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotFound is key not found. ErrNotFound = errors.New("key not found") )
Functions ¶
Types ¶
type Value ¶
type Value interface {
Bool() (bool, error)
Int() (int64, error)
Float() (float64, error)
String() (string, error)
Duration() (time.Duration, error)
Slice() ([]Value, error)
Map() (map[string]Value, error)
Scan(interface{}) error
Load() interface{}
Store(interface{})
}
Value is config value interface.
Click to show internal directories.
Click to hide internal directories.