reflect

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: MIT Imports: 2 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Deref

func Deref(tpe reflect.Type) reflect.Type

func FullTypeName

func FullTypeName(rtype reflect.Type) string

func Indirect

func Indirect(rv reflect.Value) reflect.Value

func IsBytes

func IsBytes(v interface{}) bool

func IsEmptyValue

func IsEmptyValue(v interface{}) bool

func New

func New(tpe reflect.Type) reflect.Value

New return TypeValue not like reflect.New, which return PtrTo(reflect.Type),

Types

type ZeroChecker

type ZeroChecker interface {
	IsZero() bool
}

Jump to

Keyboard shortcuts

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