mirror of
https://github.com/opbnq-q/nto-cli.git
synced 2025-12-06 18:10:35 +07:00
gracefull shutdown for unresolvable errors
This commit is contained in:
@@ -7,8 +7,6 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
|
||||
|
||||
func GenerateService(structName, mkPath string) {
|
||||
serviceFile, err := os.Create(mkPath + "/" + strings.ToLower(structName) + ".service.ts")
|
||||
if err != nil {
|
||||
@@ -26,7 +24,7 @@ export default class %sService implements IService<%s> {
|
||||
}
|
||||
|
||||
async readAll() {
|
||||
return await GetAll()
|
||||
return await GetAll() as %s
|
||||
}
|
||||
|
||||
async create(item: %s) {
|
||||
|
||||
Reference in New Issue
Block a user