base

package
v0.0.0-...-40ef913 Latest Latest
Warning

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

Go to latest
Published: May 5, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetElem

func GetElem(v interface{}, ptr bool, kinds ...reflect.Kind) (
	*reflect.Value, *reflect.Type,
	bool,
	error)

GetElem 判断v的类型并获取v的Elem ptr:为真时表示v必须是指针 kinds:表示v的类型必须是kinds中的某一个

Types

This section is empty.

Jump to

Keyboard shortcuts

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