tagcache

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnumBlock

type EnumBlock struct {
	EnumField  syntaxtags.Field // Field in the parent struct of the enum slice
	BlockField syntaxtags.Field // Field in the enum struct for the enum block
}

type TagInfo

type TagInfo struct {
	Tags      []syntaxtags.Field
	TagLookup map[string]syntaxtags.Field

	// EnumLookup maps enum blocks to the enum field. For example, an enum block
	// called "foo.foo" and "foo.bar" will both map to the "foo" enum field.
	EnumLookup map[string]EnumBlock
}

func Get

func Get(t reflect.Type) *TagInfo

Jump to

Keyboard shortcuts

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