mirror of
https://github.com/opbnq-q/nto-cli.git
synced 2025-12-06 18:10:35 +07:00
Update service.go
This commit is contained in:
@@ -16,7 +16,7 @@ func GenerateService(structName, mkPath string) {
|
|||||||
}
|
}
|
||||||
defer serviceFile.Close()
|
defer serviceFile.Close()
|
||||||
_, err = serviceFile.WriteString(fmt.Sprintf(
|
_, err = serviceFile.WriteString(fmt.Sprintf(
|
||||||
`import { GetAll, Create, Delete, ExportToExcel, GetById, Update, Count } from "%s"
|
`import { GetAll, Create, Delete, GetById, Update, Count } from "%s"
|
||||||
import type { %s } from "%s"
|
import type { %s } from "%s"
|
||||||
import type { IService } from "%s"
|
import type { IService } from "%s"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user