mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-27 12:28:40 +08:00
c27e00b45c
* Replace mongo package with monc & mon * Add terminal whitespace * format code
22 lines
520 B
Go
22 lines
520 B
Go
package template
|
|
|
|
import _ "embed"
|
|
|
|
var (
|
|
// ModelText provides the default template for model to generate.
|
|
//go:embed model.tpl
|
|
ModelText string
|
|
|
|
// ModelCustomText provides the default template for model to generate.
|
|
//go:embed model_custom.tpl
|
|
ModelCustomText string
|
|
|
|
// ModelTypesText provides the default template for model to generate.
|
|
//go:embed types.tpl
|
|
ModelTypesText string
|
|
|
|
// Error provides the default template for error definition in mongo code generation.
|
|
//go:embed error.tpl
|
|
Error string
|
|
)
|