Documentation
¶
Overview ¶
Package parser extracts schema definitions from Go source code using AST analysis.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// TagName is the struct tag to look for (default: "gt")
TagName string
// FallbackTags are alternative tags to check (e.g., "validate")
FallbackTags []string
// TypeInfo provides go/types information for proper type resolution (optional)
TypeInfo *load.TypeInfo
}
Parser extracts schemas from Go source files.
Click to show internal directories.
Click to hide internal directories.