reflect

package
v0.0.0-...-375d9ab Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

This file has automatically been generated on Wed Feb 26 15:50:48 +05 2020. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Append

func Append(s reflect.Value, x ...reflect.Value) reflect.Value

func AppendSlice

func AppendSlice(s, t reflect.Value) reflect.Value

func ArrayOf

func ArrayOf(count int, elem reflect.Type) reflect.Type

func ChanDirString

func ChanDirString(d reflect.ChanDir) string

func ChanOf

func ChanOf(dir reflect.ChanDir, t reflect.Type) reflect.Type

func Copy

func Copy(dst, src reflect.Value) int

func DeepEqual

func DeepEqual(x, y interface{}) bool

func FuncOf

func FuncOf(in, out []reflect.Type, variadic bool) reflect.Type

func Indirect

func Indirect(v reflect.Value) reflect.Value

func KindString

func KindString(k reflect.Kind) string

func MakeChan

func MakeChan(typ reflect.Type, buffer int) reflect.Value

func MakeFunc

func MakeFunc(typ reflect.Type, fn func(args []reflect.Value) []reflect.Value) reflect.Value

func MakeMap

func MakeMap(typ reflect.Type) reflect.Value

func MakeMapWithSize

func MakeMapWithSize(typ reflect.Type, n int) reflect.Value

func MakeSlice

func MakeSlice(typ reflect.Type, len, cap int) reflect.Value

func MapIterKey

func MapIterKey(it *reflect.MapIter) reflect.Value

func MapIterNext

func MapIterNext(it *reflect.MapIter) bool

func MapIterValue

func MapIterValue(it *reflect.MapIter) reflect.Value

func MapOf

func MapOf(key, elem reflect.Type) reflect.Type

func New

func New(typ reflect.Type) reflect.Value

func NewAt

func NewAt(typ reflect.Type, p unsafe.Pointer) reflect.Value

func PtrTo

func PtrTo(t reflect.Type) reflect.Type

func Select

func Select(cases []reflect.SelectCase) (int, reflect.Value, bool)

func SliceOf

func SliceOf(t reflect.Type) reflect.Type

func StructOf

func StructOf(fields []reflect.StructField) reflect.Type

func StructTagGet

func StructTagGet(tag reflect.StructTag, key string) string

func StructTagLookup

func StructTagLookup(tag reflect.StructTag, key string) (string, bool)

func Swapper

func Swapper(slice interface{}) func(i, j int)

func TypeOf

func TypeOf(i interface{}) reflect.Type

func ValueAddr

func ValueAddr(v reflect.Value) reflect.Value

func ValueBool

func ValueBool(v reflect.Value) bool

func ValueBytes

func ValueBytes(v reflect.Value) []byte

func ValueCall

func ValueCall(v reflect.Value, in []reflect.Value) []reflect.Value

func ValueCallSlice

func ValueCallSlice(v reflect.Value, in []reflect.Value) []reflect.Value

func ValueCanAddr

func ValueCanAddr(v reflect.Value) bool

func ValueCanInterface

func ValueCanInterface(v reflect.Value) bool

func ValueCanSet

func ValueCanSet(v reflect.Value) bool

func ValueCap

func ValueCap(v reflect.Value) int

func ValueComplex

func ValueComplex(v reflect.Value) complex128

func ValueConvert

func ValueConvert(v reflect.Value, t reflect.Type) reflect.Value

func ValueElem

func ValueElem(v reflect.Value) reflect.Value

func ValueErrorError

func ValueErrorError(e *reflect.ValueError) string

func ValueField

func ValueField(v reflect.Value, i int) reflect.Value

func ValueFieldByIndex

func ValueFieldByIndex(v reflect.Value, index []int) reflect.Value

func ValueFieldByName

func ValueFieldByName(v reflect.Value, name string) reflect.Value

func ValueFieldByNameFunc

func ValueFieldByNameFunc(v reflect.Value, match func(string) bool) reflect.Value

func ValueFloat

func ValueFloat(v reflect.Value) float64

func ValueIndex

func ValueIndex(v reflect.Value, i int) reflect.Value

func ValueInt

func ValueInt(v reflect.Value) int64

func ValueInterface

func ValueInterface(v reflect.Value) interface{}

func ValueInterfaceData

func ValueInterfaceData(v reflect.Value) [2]uintptr

func ValueIsNil

func ValueIsNil(v reflect.Value) bool

func ValueIsValid

func ValueIsValid(v reflect.Value) bool

func ValueIsZero

func ValueIsZero(v reflect.Value) bool

func ValueKind

func ValueKind(v reflect.Value) reflect.Kind

func ValueLen

func ValueLen(v reflect.Value) int

func ValueMapIndex

func ValueMapIndex(v reflect.Value, key reflect.Value) reflect.Value

func ValueMapKeys

func ValueMapKeys(v reflect.Value) []reflect.Value

func ValueMapRange

func ValueMapRange(v reflect.Value) *reflect.MapIter

func ValueMethod

func ValueMethod(v reflect.Value, i int) reflect.Value

func ValueMethodByName

func ValueMethodByName(v reflect.Value, name string) reflect.Value

func ValueNumField

func ValueNumField(v reflect.Value) int

func ValueNumMethod

func ValueNumMethod(v reflect.Value) int

func ValueOf

func ValueOf(i interface{}) reflect.Value

func ValueOverflowComplex

func ValueOverflowComplex(v reflect.Value, x complex128) bool

func ValueOverflowFloat

func ValueOverflowFloat(v reflect.Value, x float64) bool

func ValueOverflowInt

func ValueOverflowInt(v reflect.Value, x int64) bool

func ValueOverflowUint

func ValueOverflowUint(v reflect.Value, x uint64) bool

func ValuePointer

func ValuePointer(v reflect.Value) uintptr

func ValueRecv

func ValueRecv(v reflect.Value) (reflect.Value, bool)

func ValueSlice

func ValueSlice(v reflect.Value, i, j int) reflect.Value

func ValueString

func ValueString(v reflect.Value) string

func ValueTryRecv

func ValueTryRecv(v reflect.Value) (reflect.Value, bool)

func ValueTrySend

func ValueTrySend(v reflect.Value, x reflect.Value) bool

func ValueType

func ValueType(v reflect.Value) reflect.Type

func ValueUint

func ValueUint(v reflect.Value) uint64

func ValueUnsafeAddr

func ValueUnsafeAddr(v reflect.Value) uintptr

func Zero

func Zero(typ reflect.Type) reflect.Value

Types

This section is empty.

Jump to

Keyboard shortcuts

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