generate ent schema from your existing sql file.
- this tool was created to be used in my work only it may contains many bugs, missing many features but I hope it might be useful to you in someway :)
CGO_ENABLED=1 go install github.com/panotza/pg2ent@main
pg2ent read yaml config file name pg2ent.yaml
you can find example config in examples directory
after configuration is completed. run
pg2ent
- parse sql function arguments
- ent edges