Documentation ¶
Index ¶
- type Any
- func (x Any) GetAny(key string) any
- func (x Any) GetAnyOK(key string) (any, bool)
- func (x Any) GetBool(key string) bool
- func (x Any) GetBoolOK(key string) (bool, bool)
- func (x Any) GetFloat(key string) float64
- func (x Any) GetFloatOK(key string) (float64, bool)
- func (x Any) GetInt(key string) int
- func (x Any) GetInt64(key string) int64
- func (x Any) GetInt64OK(key string) (int64, bool)
- func (x Any) GetIntOK(key string) (int, bool)
- func (m Any) GetMap(name string) Any
- func (x Any) GetObject(key string) (any, bool)
- func (m Any) GetSliceOfFloat(name string) []float64
- func (m Any) GetSliceOfInt(name string) []int
- func (m Any) GetSliceOfMap(name string) []Any
- func (m Any) GetSliceOfString(name string) []string
- func (x Any) GetString(key string) string
- func (x Any) GetStringOK(key string) (string, bool)
- func (m Any) IsZeroValue(name string) bool
- func (x Any) Keys() []string
- func (x *Any) Remove(key string) bool
- func (x *Any) SetAny(key string, value any) bool
- func (x *Any) SetBool(key string, value bool) bool
- func (x *Any) SetFloat(key string, value float64) bool
- func (x *Any) SetInt(key string, value int) bool
- func (x *Any) SetInt64(key string, value int64) bool
- func (x *Any) SetObject(element schema.Element, path list.List, value any) error
- func (x *Any) SetString(key string, value string) bool
- type Bool
- type Float
- type Int
- type Int64
- type Object
- type String
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Any ¶
func (Any) GetSliceOfFloat ¶ added in v0.11.0
GetSliceOfFloat returns a named option as a slice of float64 values
func (Any) GetSliceOfInt ¶ added in v0.11.0
GetSliceOfInt returns a named option as a slice of int values
func (Any) GetSliceOfMap ¶ added in v0.11.0
GetSliceOfMap returns a named option as a slice of mapof.Any objects.
func (Any) GetSliceOfString ¶ added in v0.11.0
GetSliceOfString returns a named option as a slice of strings
func (Any) IsZeroValue ¶ added in v0.12.2
type Object ¶ added in v0.10.0
func (Object[T]) IsZeroValue ¶ added in v0.12.2
Click to show internal directories.
Click to hide internal directories.