Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FieldInfo ¶
type FieldInfo struct {
Name string
TypeExpr ast.Expr
TypeStr string
Kind FieldKind
Action TagAction
Default string
IsEmbedded bool
IsExported bool
ElemType string
KeyType string
}
FieldInfo holds information about a struct field with reset tag.
type FileInfo ¶
type FileInfo struct {
Path string
PkgName string
Structs []StructInfo
Imports []ImportInfo
}
FileInfo holds information about a parsed file.
type ImportInfo ¶
ImportInfo holds import information.
type StructInfo ¶
StructInfo holds information about a struct with reset tags.