Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + const Ptr + func Copy(dst, src Value) int + func DeepEqual(x, y any) bool + func Swapper(slice any) func(i, j int) + type ChanDir int + const BothDir + const RecvDir + const SendDir + func (d ChanDir) String() string + type Kind uint + const Array + const Bool + const Chan + const Complex128 + const Complex64 + const Float32 + const Float64 + const Func + const Int + const Int16 + const Int32 + const Int64 + const Int8 + const Interface + const Invalid + const Map + const Pointer + const Slice + const String + const Struct + const Uint + const Uint16 + const Uint32 + const Uint64 + const Uint8 + const Uintptr + const UnsafePointer + func (k Kind) String() string + type MapIter struct + func (iter *MapIter) Key() Value + func (iter *MapIter) Next() bool + func (iter *MapIter) Reset(v Value) + func (iter *MapIter) Value() Value + type Method struct + Func Value + Index int + Name string + PkgPath string + Type Type + func (m Method) IsExported() bool + type SelectCase struct + Chan Value + Dir SelectDir + Send Value + type SelectDir int + const SelectDefault + const SelectRecv + const SelectSend + type SliceHeader struct + Cap int + Data uintptr + Len int + type StringHeader struct + Data uintptr + Len int + type StructField struct + Anonymous bool + Index []int + Name string + Offset uintptr + PkgPath string + Tag StructTag + Type Type + func VisibleFields(t Type) []StructField + func (f StructField) IsExported() bool + type StructTag string + func (tag StructTag) Get(key string) string + func (tag StructTag) Lookup(key string) (value string, ok bool) + type Type interface + Align func() int + AssignableTo func(u Type) bool + Bits func() int + ChanDir func() ChanDir + Comparable func() bool + ConvertibleTo func(u Type) bool + Elem func() Type + Field func(i int) StructField + FieldAlign func() int + FieldByIndex func(index []int) StructField + FieldByName func(name string) (StructField, bool) + FieldByNameFunc func(match func(string) bool) (StructField, bool) + Implements func(u Type) bool + In func(i int) Type + IsVariadic func() bool + Key func() Type + Kind func() Kind + Len func() int + Method func(int) Method + MethodByName func(string) (Method, bool) + Name func() string + NumField func() int + NumIn func() int + NumMethod func() int + NumOut func() int + Out func(i int) Type + PkgPath func() string + Size func() uintptr + String func() string + func ArrayOf(length int, elem Type) Type + func ChanOf(dir ChanDir, t Type) Type + func FuncOf(in, out []Type, variadic bool) Type + func MapOf(key, elem Type) Type + func PointerTo(t Type) Type + func PtrTo(t Type) Type + func SliceOf(t Type) Type + func StructOf(fields []StructField) Type + func TypeOf(i any) Type + type Value struct + func Append(s Value, x ...Value) Value + func AppendSlice(s, t Value) Value + func Indirect(v Value) Value + func MakeChan(typ Type, buffer int) Value + func MakeFunc(typ Type, fn func(args []Value) (results []Value)) Value + func MakeMap(typ Type) Value + func MakeMapWithSize(typ Type, n int) Value + func MakeSlice(typ Type, len, cap int) Value + func New(typ Type) Value + func NewAt(typ Type, p unsafe.Pointer) Value + func Select(cases []SelectCase) (chosen int, recv Value, recvOK bool) + func ValueOf(i any) Value + func Zero(typ Type) Value + func (v Value) Addr() Value + func (v Value) Bool() bool + func (v Value) Bytes() []byte + func (v Value) Call(in []Value) []Value + func (v Value) CallSlice(in []Value) []Value + func (v Value) CanAddr() bool + func (v Value) CanComplex() bool + func (v Value) CanConvert(t Type) bool + func (v Value) CanFloat() bool + func (v Value) CanInt() bool + func (v Value) CanInterface() bool + func (v Value) CanSet() bool + func (v Value) CanUint() bool + func (v Value) Cap() int + func (v Value) Close() + func (v Value) Complex() complex128 + func (v Value) Convert(t Type) Value + func (v Value) Elem() Value + func (v Value) Field(i int) Value + func (v Value) FieldByIndex(index []int) Value + func (v Value) FieldByIndexErr(index []int) (Value, error) + func (v Value) FieldByName(name string) Value + func (v Value) FieldByNameFunc(match func(string) bool) Value + func (v Value) Float() float64 + func (v Value) Index(i int) Value + func (v Value) Int() int64 + func (v Value) Interface() (i any) + func (v Value) InterfaceData() [2]uintptr + func (v Value) IsNil() bool + func (v Value) IsValid() bool + func (v Value) IsZero() bool + func (v Value) Kind() Kind + func (v Value) Len() int + func (v Value) MapIndex(key Value) Value + func (v Value) MapKeys() []Value + func (v Value) MapRange() *MapIter + func (v Value) Method(i int) Value + func (v Value) MethodByName(name string) Value + func (v Value) NumField() int + func (v Value) NumMethod() int + func (v Value) OverflowComplex(x complex128) bool + func (v Value) OverflowFloat(x float64) bool + func (v Value) OverflowInt(x int64) bool + func (v Value) OverflowUint(x uint64) bool + func (v Value) Pointer() uintptr + func (v Value) Recv() (x Value, ok bool) + func (v Value) Send(x Value) + func (v Value) Set(x Value) + func (v Value) SetBool(x bool) + func (v Value) SetBytes(x []byte) + func (v Value) SetCap(n int) + func (v Value) SetComplex(x complex128) + func (v Value) SetFloat(x float64) + func (v Value) SetInt(x int64) + func (v Value) SetIterKey(iter *MapIter) + func (v Value) SetIterValue(iter *MapIter) + func (v Value) SetLen(n int) + func (v Value) SetMapIndex(key, elem Value) + func (v Value) SetPointer(x unsafe.Pointer) + func (v Value) SetString(x string) + func (v Value) SetUint(x uint64) + func (v Value) Slice(i, j int) Value + func (v Value) Slice3(i, j, k int) Value + func (v Value) String() string + func (v Value) TryRecv() (x Value, ok bool) + func (v Value) TrySend(x Value) bool + func (v Value) Type() Type + func (v Value) Uint() uint64 + func (v Value) UnsafeAddr() uintptr + func (v Value) UnsafePointer() unsafe.Pointer + type ValueError struct + Kind Kind + Method string + func (e *ValueError) Error() string