Which one is preferred in the community – gorilla/mux or gin-gonic/gin? I am developing/building new cloud-native Enterprise APIs with highly sensitive data and might have significant volumes to deal with. Searched around the web for an answer on the preferred framework, and got split answers. Trying one last time to make my decision.
Additionally, 1.22 also brings in an improved router, should I be using that one?
I have tried gin-gonic/gin before and found it to be easy to work with. However, some feedback I got about gin, is that it adds a lot of imports to the project which is essentially a potential spot for attacks/vulns. I have no idea on what is the dependency tree for gorilla/mux though as I have not used it and have not ‘benchmarked’ the code to compare the results between the two (maybe that is the next step to analyze).
Any suggestions?