reflectx

package
v0.0.0-...-61829c1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Indirect

func Indirect(v reflect.Value) reflect.Value

func IndirectType

func IndirectType(tpe reflect.Type) reflect.Type

func IsEmptyValue

func IsEmptyValue(v reflect.Value) bool

func MustCanSetStruct

func MustCanSetStruct(rv reflect.Value)

func SetValue

func SetValue(rv reflect.Value, tpe reflect.Type, rightValue interface{}) error

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