Generate bru file from the geng
Open
mukezhz
opened this issue 1 year ago
•
0 comments
Steps to accomplish:
- read all the route.go file
- find out the list of methods used by reading RegisterRoute function
- read all the controller.go file
- find out the list of
dto or model used in controller's ShouldBind and Bind method
- read all the
dto or model and find the struct
- after finding method from route, and model from controller we can generate bru file
Why generating bru from golang is better than golang from bru?
- when we generate golang from bru there might be data loss