package
1.8.1
Repository: https://github.com/zeromicro/go-zero.git
Documentation: pkg.go.dev

# Variables

Customized defines a template for customized in model go:embed tpl/customized.tpl.
Delete defines a delete template go:embed tpl/delete.tpl.
DeleteMethod defines a delete template for interface method go:embed tpl/interface-delete.tpl.
Error defines an error template go:embed tpl/err.tpl.
Field defines a filed template for types go:embed tpl/field.tpl.
FindOne defines find row by id.
FindOneByField defines find row by field.
FindOneByFieldExtraMethod defines find row by field with extras.
FindOneByFieldMethod defines find row by field method.
FindOneMethod defines find row method.
Imports defines a import template for model in cache case go:embed tpl/import.tpl.
ImportsNoCache defines a import template for model in normal case go:embed tpl/import-no-cache.tpl.
Insert defines a template for insert code in model go:embed tpl/insert.tpl.
InsertMethod defines an interface method template for insert code in model go:embed tpl/interface-insert.tpl.
ModelCustom defines a template for extension go:embed tpl/model.tpl.
ModelGen defines a template for model.
New defines the template for creating model instance.
TableName defines a template that generate the tableName method.
Tag defines a tag template text go:embed tpl/tag.tpl.
Types defines a template for types in model.
Update defines a template for generating update codes go:embed tpl/update.tpl.
UpdateMethod defines an interface method template for generating update codes go:embed tpl/interface-update.tpl.
Vars defines a template for var block in model go:embed tpl/var.tpl.