Skip to content

Commit 22ca855

Browse files
[REMOVED ENTITY FROM SERIVCE CODE]
1 parent 474a019 commit 22ca855

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cmd/generate.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -328,21 +328,17 @@ func createMicroservice(name, port string) error {
328328
"router.tmpl",
329329
"controller.tmpl",
330330
"service.tmpl",
331-
"entity_pkg.tmpl",
332331
"go.mod.tmpl",
333332
"Dockerfile.tmpl",
334-
"entity_pkg.tmpl",
335333
}
336334

337335
outputFiles := []string{
338336
filepath.Join(basePath, "cmd", "main.go"),
339337
filepath.Join(basePath, "internal", "router.go"),
340338
filepath.Join(basePath, "internal", "controller.go"),
341339
filepath.Join(basePath, "internal", "service.go"),
342-
filepath.Join(basePath, "internal", "entity.go"),
343340
filepath.Join(basePath, "go.mod"),
344341
filepath.Join(basePath, "Dockerfile"),
345-
filepath.Join("pkg", "entities", strings.ToLower(name)+"_entity.go"),
346342
}
347343

348344
funcMap := template.FuncMap{

0 commit comments

Comments
 (0)