I'm new at Beego framework. I have experience at Laravel PHP framework and I think Beego is a little bit different I guess. How these commentsRouter
generated and what is this for? Is this automatically generates or just have to add by my hand and define route methods?
If you use bee api ...
to create an API project, you will get these default files:
controllers
├── object.go
└── user.go
models
├── object.go
└── user.go
routers
├── commentsRouter_controllers.go
└── router.go
They are samples that help you to write your own logic.