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.
|
|
|
package template
|
|
|
|
|
|
|
|
// Model defines a template for model
|
|
|
|
var Model = `package {{.pkg}}
|
|
|
|
{{.imports}}
|
|
|
|
{{.vars}}
|
|
|
|
{{.types}}
|
|
|
|
{{.new}}
|
|
|
|
{{.insert}}
|
|
|
|
{{.find}}
|
|
|
|
{{.update}}
|
|
|
|
{{.delete}}
|
|
|
|
{{.extraMethod}}
|
|
|
|
`
|