structtag

package
v0.0.0-...-ded3010 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFieldsByTag

func GetFieldsByTag(i interface{}, tag string) map[string]*StructField

Types

type StructField

type StructField struct {
	Index int
	// contains filtered or unexported fields
}

func NewStructField

func NewStructField(index int, tag string) (string, *StructField)

func (*StructField) Value

func (sf *StructField) Value(tag string) (v string, ok bool)

Jump to

Keyboard shortcuts

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