reflection

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsCleanup

func IsCleanup(typ reflect.Type) bool

IsCleanup

func IsError

func IsError(typ reflect.Type) bool

IsError

func IsFunc

func IsFunc(value interface{}) bool

IsFunc

func IsPtr

func IsPtr(value interface{}) bool

IsPtr

Types

type Func

type Func struct {
	Name string
	reflect.Type
	reflect.Value
}

Func

func InspectFunction

func InspectFunction(fn interface{}) *Func

InspectFunction

type Interface

type Interface struct {
	Name string
	Type reflect.Type
}

Interface

func InspectInterfacePtr

func InspectInterfacePtr(iface interface{}) *Interface

InspectInterfacePtr

Jump to

Keyboard shortcuts

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