mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 13:31:56 +00:00
Feat(BE-36,37,38,39): master area, customer, kandang, location, warehouse
This commit is contained in:
+5
-4
@@ -44,10 +44,11 @@ func main() {
|
||||
TplName string
|
||||
}{
|
||||
{
|
||||
TplPath: "tools/templates/model.tmpl",
|
||||
OutDir: filepath.Join("internal", "modules", toKebabPath(d.Parts[:len(d.Parts)-1]), toKebab(d.Entity)+"s", "models"),
|
||||
OutSuffix: ".model.go",
|
||||
TplName: "model",
|
||||
TplPath: "tools/templates/entity.tmpl",
|
||||
// Centralize entities at internal/entities
|
||||
OutDir: filepath.Join("internal", "entities"),
|
||||
OutSuffix: ".go",
|
||||
TplName: "entity",
|
||||
},
|
||||
{
|
||||
TplPath: "tools/templates/validation.tmpl",
|
||||
|
||||
Reference in New Issue
Block a user