feat: service generator

This commit is contained in:
2025-02-17 21:09:21 +07:00
parent 6e52164914
commit a04285b63f
2 changed files with 42 additions and 18 deletions

View File

@@ -1,9 +1,8 @@
package main
import (
"fmt"
input "nto_cli/cmd"
// "nto_cli/generation"
"nto_cli/generation"
"nto_cli/utils"
"os"
)
@@ -17,9 +16,6 @@ func main() {
defer file.Close()
structFields := utils.GetStructFields(file, structName)
for _, field := range structFields {
fmt.Println(field.Generate())
}
// generation.Generate(structName, structFields)
generation.Generate(structName, structFields)
}