feat: field gen

This commit is contained in:
2025-02-15 22:10:46 +07:00
parent 011249d3e3
commit 08166e75d3
6 changed files with 97 additions and 28 deletions

View File

@@ -1,8 +1,9 @@
package main
import (
"fmt"
input "nto_cli/cmd"
"nto_cli/generation"
// "nto_cli/generation"
"nto_cli/utils"
"os"
)
@@ -16,6 +17,9 @@ 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)
}