mirror of
https://github.com/opbnq-q/nto-cli.git
synced 2025-12-06 17:00:33 +07:00
dir, service blplt generation (without imports, logic)
This commit is contained in:
7
main.go
7
main.go
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user