meta

package
v0.0.0-...-2572d14 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFieldTag

func GetFieldTag[T any](obj *T, objFieldPtr any, tagName string) string

GetFieldTag - return object field tag

func IterFields

func IterFields(val any, tagName string, f func(field any, tag string, offset uintptr))

IterFields - iterate through struct fields

func IterFieldsTags

func IterFieldsTags(val any, tagNames []string, f func(field any, tag map[string]string, offset uintptr))

IterFieldsTags - iterate through struct fields and list of tags

func ListFieldTags

func ListFieldTags[T any](obj *T, objFieldPtr any, tagNames ...string) (ret map[string]string)

ListFieldTags - return list of tags of object field

Types

This section is empty.

Jump to

Keyboard shortcuts

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