runtime

package
v1.15.5 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

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

func Deref

func Deref(i any) any

func Divide

func Divide(a, b interface{}) float64

func Equal

func Equal(a, b interface{}) bool

func Exponent

func Exponent(a, b any) float64

func Fetch

func Fetch(from, i any) any

func FetchField

func FetchField(from any, field *Field) any

func FetchMethod

func FetchMethod(from any, method *Method) any

func In

func In(needle any, array any) bool

func IsNil

func IsNil(v any) bool

func Len added in v1.11.0

func Len(a any) int

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 any) any

func Slice

func Slice(array, from, to any) any

func Subtract

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

func ToFloat64

func ToFloat64(a any) float64

func ToInt

func ToInt(a any) int

func ToInt64

func ToInt64(a any) 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