gofiber / boilerplate

🚧 Boilerplate for 🚀 Fiber

Home Page:https://github.com/gofiber/fiber

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[ discussion about routing ]

firmanJS opened this issue · comments

Hello
maybe this is just a little suggestion why the router is not separated in the router folder?

I made boilerplate for fiber as well as this https://github.com/firmanJS/boillerplate-fiber might be checked and considered
thank you

commented

Your boilerplate looks good, I would suggest making a PR to the official fiber repo to add your repo to the list.

And to answer your question, it's a personal preference. Since we do not have many routes in this example, I think it's fine to overview them in one file.