struct_tag

package
v0.0.0-...-74e38f5 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2025 License: MIT Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetData

func GetData(v reflect.Value) (data interface{}, isZero bool, checked bool)

func IterateStructFields

func IterateStructFields(e interface{}, it StructFieldIterator)

Types

type IGetData

type IGetData interface {
	GetSetMapData() (any, bool)
}

IGetData is an interface that can be used to extract data from an object.

type StructFieldIterator

type StructFieldIterator func(reflect.StructField, reflect.Value)

Jump to

Keyboard shortcuts

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