reflectx

package
v0.0.0-...-cd938e1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNil

func IsNil(object interface{}) bool

IsNil checks if a specified object is nil or not, without Failing.

func IsPrimitive

func IsPrimitive(kind reflect.Kind) bool

IsPrimitive 判断是否是原始简单类型

func IsZero

func IsZero(object interface{}) bool

func VisitFields

func VisitFields(x interface{}, vistor func(field reflect.Type) error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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