dir, service blplt generation (without imports, logic)

This commit is contained in:
2025-02-14 00:23:28 +07:00
parent a1df30a318
commit 742a685804
6 changed files with 61 additions and 4 deletions

View File

@@ -1,13 +1,12 @@
package main
import (
"fmt"
input "nto_cli/cmd"
"nto_cli/generation"
"nto_cli/utils"
"os"
)
func main() {
structName, path := input.Input()
file, err := os.Open(path)
@@ -18,5 +17,5 @@ func main() {
structFields := utils.GetStructFields(file, structName)
fmt.Printf("%+v\n", structFields)
}
generation.Generate(structName, structFields)
}