Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entity ¶
type Entity struct { PkgPath string Name string Plural string DBName string Fields []Field Indexes []Index // Compound indexes defined via comments }
func ParseDataGo ¶
type Index ¶
type Index struct { Fields []IndexField // Fields in the index Unique bool // Whether the index is unique Sparse bool // Whether the index is sparse Name string // Custom index name (optional) }
type IndexField ¶
Click to show internal directories.
Click to hide internal directories.