runtime

package
v1.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abs added in v1.11.0

func Abs(x interface{}) interface{}

func Add

func Add(a, b interface{}) interface{}

func Deref

func Deref(i interface{}) interface{}

func Divide

func Divide(a, b interface{}) float64

func Equal

func Equal(a, b interface{}) bool

func Exponent

func Exponent(a, b interface{}) float64

func Fetch

func Fetch(from, i interface{}) interface{}

func FetchField

func FetchField(from interface{}, field *Field) interface{}

func FetchMethod

func FetchMethod(from interface{}, method *Method) interface{}

func In

func In(needle interface{}, array interface{}) bool

func IsNil

func IsNil(v interface{}) bool

func Len added in v1.11.0

func Len(a interface{}) interface{}

func Less

func Less(a, b interface{}) bool

func LessOrEqual

func LessOrEqual(a, b interface{}) bool

func MakeRange

func MakeRange(min, max int) []int

func Modulo

func Modulo(a, b interface{}) int

func More

func More(a, b interface{}) bool

func MoreOrEqual

func MoreOrEqual(a, b interface{}) bool

func Multiply

func Multiply(a, b interface{}) interface{}

func Negate

func Negate(i interface{}) interface{}

func Slice

func Slice(array, from, to interface{}) interface{}

func Subtract

func Subtract(a, b interface{}) interface{}

func ToFloat64

func ToFloat64(a interface{}) float64

func ToInt

func ToInt(a interface{}) int

func ToInt64

func ToInt64(a interface{}) int64

Types

type Field

type Field struct {
	Index []int
	Path  []string
}

type Method

type Method struct {
	Index int
	Name  string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL