reflectlite

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2019 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Swapper

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

func TypeOf

func TypeOf(i interface{}) reflect.Type

func ValueOf

func ValueOf(i interface{}) reflect.Value

Types

type Kind

type Kind = reflect.Kind
const (
	Invalid       Kind = reflect.Invalid
	Bool          Kind = reflect.Bool
	Int           Kind = reflect.Int
	Int8          Kind = reflect.Int8
	Int16         Kind = reflect.Int16
	Int32         Kind = reflect.Int32
	Int64         Kind = reflect.Int64
	Uint          Kind = reflect.Uint
	Uint8         Kind = reflect.Uint8
	Uint16        Kind = reflect.Uint16
	Uint32        Kind = reflect.Uint32
	Uint64        Kind = reflect.Uint64
	Uintptr       Kind = reflect.Uintptr
	Float32       Kind = reflect.Float32
	Float64       Kind = reflect.Float64
	Complex64     Kind = reflect.Complex64
	Complex128    Kind = reflect.Complex128
	Array         Kind = reflect.Array
	Chan          Kind = reflect.Chan
	Func          Kind = reflect.Func
	Interface     Kind = reflect.Interface
	Map           Kind = reflect.Map
	Ptr           Kind = reflect.Ptr
	Slice         Kind = reflect.Slice
	String        Kind = reflect.String
	Struct        Kind = reflect.Struct
	UnsafePointer Kind = reflect.UnsafePointer
)

type Type

type Type = reflect.Type

type Value

type Value = reflect.Value

type ValueError

type ValueError = reflect.ValueError

Jump to

Keyboard shortcuts

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