Documentation ¶
Index ¶
- type Map
- func (m Map) AsMapOfInterface() map[string]any
- func (m Map) DeletePath(name string) error
- func (m Map) GetBool(name string) bool
- func (m Map) GetFloat(name string) float64
- func (m Map) GetInt(name string) int
- func (m Map) GetInt64(name string) int64
- func (m Map) GetInterface(name string) any
- func (m Map) GetKeys() []string
- func (m Map) GetMap(name string) Map
- func (m Map) GetPath(name string) (any, bool)
- func (m Map) GetSliceOfFloat(name string) []float64
- func (m Map) GetSliceOfInt(name string) []int
- func (m Map) GetSliceOfMap(name string) []Map
- func (m Map) GetSliceOfString(name string) []string
- func (m Map) GetString(name string) string
- func (m Map) SetBool(name string, value bool)
- func (m Map) SetFloat(name string, value float64)
- func (m Map) SetInt(name string, value int)
- func (m Map) SetInt64(name string, value int64)
- func (m Map) SetPath(name string, value any) error
- func (m Map) SetString(name string, value string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Map ¶
Map implements some quality of life extensions to a standard map[string]any
func (Map) AsMapOfInterface ¶
AsMapOfInterface returns the underlying map datastructure
func (Map) DeletePath ¶
DeletePath implements the path.Deleter interface
func (Map) GetInterface ¶
GetInterface returns a named option without any conversion. You get what you get.
func (Map) GetSliceOfFloat ¶
GetSliceOfFloat returns a named option as a slice of float64 values
func (Map) GetSliceOfInt ¶
GetSliceOfInt returns a named option as a slice of int values
func (Map) GetSliceOfMap ¶
GetSliceOfMap returns a named option as a slice of maps.Map objects.
func (Map) GetSliceOfString ¶
GetSliceOfString returns a named option as a slice of strings
Click to show internal directories.
Click to hide internal directories.