Release 4.0.0
What Changed?
- It used to be that the
Groupfunction handled 3 different scenarios: .Group("/users")- group with existing middleware.Group("/users", nil)- group but retain no middleware.Group("/users", MoreMiddleware)- group, retain existing and add MoreMiddleware
This was confusing and even I was always referring to the function to remember what it all did so here is how it works now.
.Group("/users")- group with existing middleware.GroupWithNone("/users")- group but retain no middleware..GroupWithMore("/users", MoreMiddleware)- group, retain existing and add MoreMiddleware