introspect

package
v0.17.2 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StructField

func StructField(t reflect.Type, name string) (reflect.StructField, bool)

StructField finds a field where name matches either the tag or name.

func ValueOf

func ValueOf(i interface{}) (reflect.Value, error)

ValueOf returns the reflect.Value of an out parameter or an error if the out parameter is not valid.

func ValueOfSlice

func ValueOfSlice(i interface{}) (reflect.Value, error)

ValueOfSlice returns the reflect.Value of an out parameter slice or an error if the out parameter is not valid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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