Documentation ¶
Index ¶
- func Add(x Value, v Value) (any, error)
- func Compare(a Value, b Value) (int, error)
- func Div(x Value, v Value) (any, error)
- func Len(value Value) int
- func Mod(x Value, v Value) (any, error)
- func Mul(x Value, v Value) (any, error)
- func Pow(x Value, v Value) (any, error)
- func Sub(x Value, v Value) (any, error)
- func ToBool(value Value) bool
- func ToFloat(value Value) float64
- func ToInt(value Value) int64
- func ToString(value Value) string
- func ToUint(value Value) uint64
- type ArrayValue
- type BoolValue
- type FloatValue
- type IntValue
- type Iter
- type IterVal
- type Kind
- type MapValue
- type StringValue
- type UintValue
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ArrayValue ¶
type ArrayValue []Value
func (ArrayValue) Index ¶
func (arr ArrayValue) Index(i int) Value
func (ArrayValue) Iter ¶
func (arr ArrayValue) Iter() Iter
func (ArrayValue) Kind ¶
func (ArrayValue) Kind() Kind
func (ArrayValue) Len ¶
func (arr ArrayValue) Len() (i int)
Click to show internal directories.
Click to hide internal directories.