I am not sure if routers are supposed to be automatically generated in v2 any longer, but they don't seem to be generated for me when running my application.
I see some reference to a new bee generate command "bee generate routers", but this doesn't seem to exist in bee v2.0.2.
How do you generate the routers/commentsRouter.go file using v2? I cannot seem to find any reference to this in the documentation or any pathway into this from the code.
What am I missing?
Thank you.
EDIT:
I was able to use the tool from commit 22a4b07b4a646559a062cb3914bc1c97c504a216, which seemed to work fine for me. Any reason this isn't included? Should I be using some other method of generating routers?
I am not sure if routers are supposed to be automatically generated in v2 any longer, but they don't seem to be generated for me when running my application.
I see some reference to a new bee generate command "bee generate routers", but this doesn't seem to exist in bee v2.0.2.
How do you generate the routers/commentsRouter.go file using v2? I cannot seem to find any reference to this in the documentation or any pathway into this from the code.
What am I missing?
Thank you.
EDIT:
I was able to use the tool from commit 22a4b07b4a646559a062cb3914bc1c97c504a216, which seemed to work fine for me. Any reason this isn't included? Should I be using some other method of generating routers?