operator

package
v0.0.0-...-a151dae Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(a any, b any) (any, error)

func Bool

func Bool(a any) (bool, error)

func Contains

func Contains(a, b any) (bool, error)

func Div

func Div(a any, b any) (any, error)

func Eq

func Eq(a any, b any) (any, error)

func FloorDiv

func FloorDiv(a any, b any) (any, error)

func Ge

func Ge(a any, b any) (any, error)

func GetAttr

func GetAttr(v any, name string) (any, error)

func GetItem

func GetItem(a any, b any) (any, error)

func Gt

func Gt(a any, b any) (any, error)

func Le

func Le(a any, b any) (any, error)

func Len

func Len(a any) (int, error)

func Lt

func Lt(a any, b any) (any, error)

func Mod

func Mod(a any, b any) (any, error)

func Mul

func Mul(a any, b any) (any, error)

func Ne

func Ne(a any, b any) (any, error)

func Neg

func Neg(a any) (any, error)

func Not

func Not(a any) (bool, error)

func Pos

func Pos(a any) (any, error)

func Pow

func Pow(a any, b any) (any, error)

func Sub

func Sub(a any, b any) (any, error)

Types

type IAdd

type IAdd interface {
	Add(a any) (any, error)
}

type IBool

type IBool interface {
	Bool() (bool, error)
}

type IContains

type IContains interface {
	Contains(a any) (bool, error)
}

type IDiv

type IDiv interface {
	Div(a any) (any, error)
}

type IEq

type IEq interface {
	Eq(a any) (any, error)
}

type IFloorDiv

type IFloorDiv interface {
	FloorDiv(a any) (any, error)
}

type IGe

type IGe interface {
	Ge(a any) (any, error)
}

type IGetAttr

type IGetAttr interface {
	GetAttr(name string) (any, error)
}

type IGetAttribute

type IGetAttribute interface {
	GetAttribute(name string) (any, error)
}

type IGetItem

type IGetItem interface {
	GetItem(any) (any, error)
}

type IGt

type IGt interface {
	Gt(a any) (any, error)
}

type IIter

type IIter interface {
	Iter() (Iterator, error)
}

type ILe

type ILe interface {
	Le(a any) (any, error)
}

type ILen

type ILen interface {
	Len() (int, error)
}

type ILt

type ILt interface {
	Lt(a any) (any, error)
}

type IMod

type IMod interface {
	Mod(a any) (any, error)
}

type IMul

type IMul interface {
	Mul(a any) (any, error)
}

type INe

type INe interface {
	Ne(a any) (any, error)
}

type INeg

type INeg interface {
	Neg() (any, error)
}

type IPos

type IPos interface {
	Pos() (any, error)
}

type IPow

type IPow interface {
	Pow(a any) (any, error)
}

type IRAdd

type IRAdd interface {
	RAdd(a any) (any, error)
}

type IRDiv

type IRDiv interface {
	RDiv(a any) (any, error)
}

type IRFloorDiv

type IRFloorDiv interface {
	RFloorDiv(a any) (any, error)
}

type IRMod

type IRMod interface {
	RMod(a any) (any, error)
}

type IRMul

type IRMul interface {
	RMul(a any) (any, error)
}

type IRPow

type IRPow interface {
	RPow(a any) (any, error)
}

type IRSub

type IRSub interface {
	RSub(a any) (any, error)
}

type ISub

type ISub interface {
	Sub(a any) (any, error)
}

type Iterator

type Iterator interface {
	Next() bool
	Elem() any
}

func Iter

func Iter(a any) (Iterator, error)

type MapIterEl

type MapIterEl struct {
	Key   any
	Value any
}

Jump to

Keyboard shortcuts

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