go-zero/tools/goctl/model/mongo/template/template.go
anqiansong c27e00b45c
feat: Replace mongo package with monc & mon (#2002)
* Replace mongo package with monc & mon

* Add terminal whitespace

* format code
2022-06-12 23:02:34 +08:00

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
)