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
}
Click to show internal directories.
Click to hide internal directories.