Documentation ¶
Index ¶
- func GetType[T any](d DataMap, key string) (T, bool)
- type DataMap
- func (d DataMap) Get(key string) interface{}
- func (d DataMap) GetBool(key string) bool
- func (d DataMap) GetBytes(key string) []byte
- func (d DataMap) GetComplex(key string) complex128
- func (d DataMap) GetDuration(key string) time.Duration
- func (d DataMap) GetFloat(key string) float64
- func (d DataMap) GetInt(key string) int
- func (d DataMap) GetRunes(key string) []rune
- func (d DataMap) GetString(key string) string
- func (d DataMap) GetTime(key string) time.Time
- func (d DataMap) GetUint(key string) uint
- func (d DataMap) Set(k string, v any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DataMap ¶
Application datamap to store and retrieve data.
func (DataMap) GetComplex ¶
func (d DataMap) GetComplex(key string) complex128
Get data from the data map in the form of a complex128.
func (DataMap) GetDuration ¶
Get data from the data map in the form of a time.Duration.
Click to show internal directories.
Click to hide internal directories.