reflectx

package
v0.0.0-...-50a54d8 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BaseType

func BaseType(t reflect.Type, expected reflect.Kind) (reflect.Type, error)

BaseType get baseType from reflect.Type and check is same with expected

func Deref

func Deref(t reflect.Type) reflect.Type

Deref is Indirect for reflect.Types

func GetSliceType

func GetSliceType(slice reflect.Value) reflect.Type

GetSliceType get slice's elem type from slice

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳