fix: module path

This commit is contained in:
2025-03-16 21:03:40 +07:00
parent db5bf3bae0
commit 0e56c3534a
4 changed files with 11 additions and 17 deletions

View File

@@ -18,7 +18,6 @@ var ServiceTemplate string
type ServiceTemplateContext struct {
LowerModelName string
ModelName string
ServicesPath string
}
func GenerateService(model *model.Model, mkPath string) {
@@ -38,7 +37,6 @@ func GenerateService(model *model.Model, mkPath string) {
context := ServiceTemplateContext{
LowerModelName: strings.ToLower(model.Name),
ModelName: model.Name,
ServicesPath: GolangServicesPath,
}
serviceTemplate, err := template.New("service").Parse(ServiceTemplate)