Documentation ¶
Index ¶
- type Any
- func (x *Any) Append(key string, value 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) GetPointer(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 (x Any) IsEmpty() bool
- func (m Any) IsZeroValue(name string) bool
- func (x Any) Keys() []string
- func (m Any) MapOfAny() map[string]any
- func (m Any) MapOfString() map[string]string
- func (x Any) NotEmpty() bool
- 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
- func (x Bool) Equal(value Bool) bool
- func (x Bool) GetBool(key string) bool
- func (x Bool) GetBoolOK(key string) (bool, bool)
- func (x Bool) IsEmpty() bool
- func (x Bool) Keys() []string
- func (x Bool) NotEmpty() bool
- func (x *Bool) Remove(key string) bool
- func (x *Bool) SetBool(key string, value bool) bool
- type Float
- func (x Float) Equal(value Float) bool
- func (x Float) GetFloat(key string) float64
- func (x Float) GetFloatOK(key string) (float64, bool)
- func (x Float) IsEmpty() bool
- func (x Float) Keys() []string
- func (x Float) NotEmpty() bool
- func (x *Float) Remove(key string) bool
- func (x *Float) SetFloat(key string, value float64) bool
- type Int
- type Int64
- func (x Int64) Equal(value Int64) bool
- func (x Int64) GetInt64(key string) int64
- func (x Int64) GetInt64OK(key string) (int64, bool)
- func (x Int64) IsEmpty() bool
- func (x Int64) Keys() []string
- func (x Int64) NotEmpty() bool
- func (x *Int64) Remove(key string) bool
- func (x *Int64) SetInt64(key string, value int64) bool
- type Object
- func (object Object[T]) GetPointer(name string) (any, bool)
- func (x Object[T]) IsEmpty() bool
- func (object Object[T]) IsZeroValue(name string) bool
- func (x Object[T]) Keys() []string
- func (x Object[T]) NotEmpty() bool
- func (object *Object[T]) Remove(key string) bool
- func (object *Object[T]) SetObject(element schema.Element, path list.List, value any) error
- type String
- func (x String) Equal(value String) bool
- func (x String) GetString(key string) string
- func (x String) GetStringOK(key string) (string, bool)
- func (x String) IsEmpty() bool
- func (x String) Keys() []string
- func (x String) MapOfAny() map[string]any
- func (x String) MapOfString() map[string]string
- func (x String) NotEmpty() bool
- func (x *String) Remove(key string) bool
- func (x *String) SetString(key string, value string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Any ¶
func (*Any) Append ¶ added in v0.16.0
Append adds a new value to the provided key. If a value already exists for this key then it will be forced into a slice of values.
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
func (Any) MapOfString ¶ added in v0.21.3
type Object ¶ added in v0.10.0
func (Object[T]) GetPointer ¶ added in v0.14.0
func (Object[T]) IsZeroValue ¶ added in v0.12.2
type String ¶
func (String) MapOfString ¶ added in v0.21.3
Click to show internal directories.
Click to hide internal directories.