model.go 194 B

1234567891011121314
  1. package template
  2. // Model defines a template for model
  3. var Model = `package {{.pkg}}
  4. {{.imports}}
  5. {{.vars}}
  6. {{.types}}
  7. {{.new}}
  8. {{.insert}}
  9. {{.find}}
  10. {{.update}}
  11. {{.delete}}
  12. {{.extraMethod}}
  13. `