Documentation ¶
Index ¶
- type Value
- func (s *Value) Array() []interface{}
- func (s *Value) ArrayRange(f func(key, value interface{}) bool)
- func (s *Value) Bool() bool
- func (s *Value) Delete()
- func (s *Value) Float64() float64
- func (s *Value) Float64Array() []float64
- func (s *Value) Get() interface{}
- func (s *Value) Increase(n int)
- func (s *Value) Int() int
- func (s *Value) IntArray() []int
- func (s *Value) IsNil() bool
- func (s *Value) Map() map[string]interface{}
- func (s *Value) MapRange(f func(key, value interface{}) bool)
- func (s *Value) Range(f func(key, value interface{}) bool)
- func (s *Value) Set(value interface{})
- func (s *Value) String() string
- func (s *Value) StringArray() []string
- func (s *Value) Time() time.Time
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Value ¶
type Value struct {
// contains filtered or unexported fields
}
func (*Value) Array ¶
func (s *Value) Array() []interface{}
* * Array: Get value as []interface{} * @return []interface{} *
func (*Value) ArrayRange ¶
* * MapRange: Iterate over map * @param func (key, value interface{}) bool *
func (*Value) Float64Array ¶
* * Float64Array: Get value as []float64 * @return []float64 *
func (*Value) Range ¶
* * ArrayRange: Iterate over array * @param func (key, value interface{}) bool *
func (*Value) Set ¶
func (s *Value) Set(value interface{})
* * Set: New value * @param interface{} *
func (*Value) StringArray ¶
* * StringArray: Get value as []string * @return []string *
Click to show internal directories.
Click to hide internal directories.