reflection

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: BSD-3-Clause Imports: 1 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Implements

func Implements(abs interface{}, of reflect.Type) bool

func InterfaceType added in v0.1.1

func InterfaceType[T interface{}]() reflect.Type

func StructType

func StructType(v interface{}) reflect.Type

func StructValue

func StructValue(v interface{}) reflect.Value

func SubStructOf

func SubStructOf(child, parent interface{}) int

func TypeOf

func TypeOf(v interface{}) reflect.Type

func TypeString

func TypeString(abstract interface{}) (typeString string)

func ValueOf

func ValueOf(v interface{}) reflect.Value

Types

This section is empty.

Jump to

Keyboard shortcuts

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