v0.2.3
What's Changed
- Support querying entities with related entities by abstract entity path tag.
- Support CRUD for association tables.
- Rename
gentogooogenas a go:generate tool. - Enhance generation for SQL builder.
Usages:
gooogen
- Define the
go:generate gooogencommand before a query struct:
//go:generate gooogen
type UserQuery struct {
PageQuery
IdGt *int
IdIn *[]int
//...
}- Run the
go generatecommand to generate the corresponding query construction methods in the specified file.
Check the README or the document for more details.