Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MapBuilder ¶
type MapBuilder struct {
// contains filtered or unexported fields
}
MapBuilder is used to build nested `map[string]interface{}` structures. To build a structure, separate key parts by a `.`.
func (*MapBuilder) Err ¶
func (mb *MapBuilder) Err() error
Err returns all the errors that were found while modifying the map.
func (*MapBuilder) Get ¶
func (mb *MapBuilder) Get(key string) interface{}
Get returns the data stored in the map at the given key.
func (*MapBuilder) Remove ¶
func (mb *MapBuilder) Remove(key string) *MapBuilder
Remove overwrites data from the map at the given key.
func (*MapBuilder) Set ¶
func (mb *MapBuilder) Set(key string, value interface{}) *MapBuilder
Set overwrites data into the map at the given key.
Click to show internal directories.
Click to hide internal directories.