You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
|
|
)
|