Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
Name string
SourcePkgPrefix string
SourcePkg string
TargetPkg string
BuildTags []string
Fields map[string]*StructField
Iterators map[string]*StructField
EventTypes map[string]bool
EventTypeDocs map[string]string
Mock bool
}
Module represents everything needed to generate the accessors for a specific module (fields, build tags, ...)
type StructField ¶
type StructField struct {
Name string
Prefix string
Struct string
BasicType string
ReturnType string
IsArray bool
Event string
Handler string
OrigType string
IsOrigTypePtr bool
Iterator *StructField
Weight int64
CommentText string
}
StructField represents a structure field for which an accessor will be generated
Click to show internal directories.
Click to hide internal directories.