reflectx

package module
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: MIT Imports: 5 Imported by: 8

README

Reflectx

GoDoc Widget Build Status codecov Go Report Card

reflect helpers

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TypeBytes = reflect.TypeOf([]byte(""))

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(tpe reflect.Type) bool

func IsEmptyValue

func IsEmptyValue(v interface{}) bool

func MarshalText

func MarshalText(v interface{}) ([]byte, error)

func New

func New(tpe reflect.Type) reflect.Value

func UnmarshalText

func UnmarshalText(v interface{}, data []byte) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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