Documentation ¶
Index ¶
- type Any
- func (x *Any) Append(values ...any)
- func (x Any) First() 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 (x *Any) GetPointer(key string) (any, bool)
- func (x Any) GetString(key string) string
- func (x Any) GetStringOK(key string) (string, bool)
- func (x Any) IsEmpty() bool
- func (x Any) IsLength(length int) bool
- func (x Any) Last() any
- func (x Any) Length() int
- func (x Any) NotEmpty() bool
- func (x *Any) Remove(key string) bool
- func (x Any) Reverse() Any
- 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) SetString(key string, value string) bool
- func (x *Any) SetValue(value any) error
- type Bool
- func (x *Bool) Append(values ...bool)
- func (x Bool) Contains(value bool) bool
- func (x Bool) ContainsAll(values ...bool) bool
- func (x Bool) ContainsAny(values ...bool) bool
- func (x Bool) Equal(value []bool) bool
- func (x Bool) First() bool
- func (x Bool) GetBool(key string) bool
- func (x Bool) GetBoolOK(key string) (bool, bool)
- func (x Bool) IsEmpty() bool
- func (x Bool) IsLength(length int) bool
- func (x Bool) Last() bool
- func (x Bool) Length() int
- func (x Bool) NotEmpty() bool
- func (s *Bool) Remove(key string) bool
- func (x Bool) Reverse() Bool
- func (s *Bool) SetBool(key string, value bool) bool
- func (s *Bool) SetValue(value any) error
- type Float
- func (x *Float) Append(values ...float64)
- func (x Float) Contains(value float64) bool
- func (x Float) ContainsAll(values ...float64) bool
- func (x Float) ContainsAny(values ...float64) bool
- func (x Float) Equal(value []float64) bool
- func (x Float) First() float64
- func (x Float) GetFloat(key string) float64
- func (x Float) GetFloatOK(key string) (float64, bool)
- func (x Float) IsEmpty() bool
- func (x Float) IsLength(length int) bool
- func (x Float) Last() float64
- func (x Float) Length() int
- func (x Float) NotEmpty() bool
- func (s *Float) Remove(key string) bool
- func (x Float) Reverse() Float
- func (s *Float) SetFloat(key string, value float64) bool
- func (s *Float) SetValue(value any) error
- type Int
- func (x *Int) Append(values ...int)
- func (x Int) Contains(value int) bool
- func (x Int) ContainsAll(values ...int) bool
- func (x Int) ContainsAny(values ...int) bool
- func (x Int) Equal(value []int) bool
- func (x Int) First() int
- func (x Int) GetInt(key string) int
- func (x Int) GetIntOK(key string) (int, bool)
- func (x Int) IsEmpty() bool
- func (x Int) IsLength(length int) bool
- func (x Int) Last() int
- func (x Int) Length() int
- func (x Int) NotEmpty() bool
- func (s *Int) Remove(key string) bool
- func (x Int) Reverse() Int
- func (s *Int) SetInt(key string, value int) bool
- func (s *Int) SetValue(value any) error
- type Int64
- func (x *Int64) Append(values ...int64)
- func (x Int64) Contains(value int64) bool
- func (x Int64) ContainsAll(values ...int64) bool
- func (x Int64) ContainsAny(values ...int64) bool
- func (x Int64) Equal(value []int64) bool
- func (x Int64) First() int64
- func (x Int64) GetInt64(key string) int64
- func (x Int64) GetInt64OK(key string) (int64, bool)
- func (x Int64) IsEmpty() bool
- func (x Int64) IsLength(length int) bool
- func (x Int64) Last() int64
- func (x Int64) Length() int
- func (x Int64) NotEmpty() bool
- func (s *Int64) Remove(key string) bool
- func (x Int64) Reverse() Int64
- func (s *Int64) SetInt64(key string, value int64) bool
- func (s *Int64) SetValue(value any) error
- type Object
- func (x *Object[T]) Append(values ...T)
- func (x Object[T]) First() T
- func (x *Object[T]) GetPointer(name string) (any, bool)
- func (x Object[T]) IsEmpty() bool
- func (x Object[T]) IsLength(length int) bool
- func (x Object[T]) Last() T
- func (x Object[T]) Length() int
- func (x Object[T]) NotEmpty() bool
- func (x *Object[T]) Remove(key string) bool
- func (x Object[T]) Reverse() Object[T]
- type String
- func (x *String) Append(values ...string)
- func (x String) Contains(value string) bool
- func (x String) ContainsAll(values ...string) bool
- func (x String) ContainsAny(values ...string) bool
- func (x String) Equal(value []string) bool
- func (x String) First() string
- func (x String) GetString(key string) string
- func (x String) GetStringOK(key string) (string, bool)
- func (x String) IsEmpty() bool
- func (x String) IsLength(length int) bool
- func (x String) Last() string
- func (x String) Length() int
- func (x String) NotEmpty() bool
- func (s *String) Remove(key string) bool
- func (x String) Reverse() String
- func (s *String) SetString(key string, value string) bool
- func (s *String) SetValue(value any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bool ¶
type Bool []bool
func (Bool) ContainsAll ¶ added in v0.14.0
func (Bool) ContainsAny ¶ added in v0.14.0
type Float ¶
type Float []float64
func (Float) ContainsAll ¶ added in v0.14.0
func (Float) ContainsAny ¶ added in v0.14.0
type Int ¶
type Int []int
func (Int) ContainsAll ¶ added in v0.14.0
func (Int) ContainsAny ¶ added in v0.14.0
type Int64 ¶
type Int64 []int64
func (Int64) ContainsAll ¶ added in v0.14.0
func (Int64) ContainsAny ¶ added in v0.14.0
type Object ¶ added in v0.10.0
type Object[T any] []T
func (*Object[T]) GetPointer ¶ added in v0.14.0
type String ¶
type String []string
func (String) ContainsAll ¶ added in v0.14.0
func (String) ContainsAny ¶ added in v0.14.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.