Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate bru file from the geng #18

Open
mukezhz opened this issue Aug 13, 2024 · 0 comments
Open

Generate bru file from the geng #18

mukezhz opened this issue Aug 13, 2024 · 0 comments

Comments

@mukezhz
Copy link
Owner

mukezhz commented Aug 13, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant