[go-nuts] Re: How to rewrite code and apply middleware gorilla mux routes

2019-04-03 Thread afriyie . abraham
On Wednesday, April 3, 2019 at 11:28:55 AM UTC+3, afriyie...@gmail.com wrote: > > Hi > > I have this working main function code and would like to rewrite it such > that the middleware "validateToken" would be applied > to all my gorilla mux routes. > Please attached is the file containg the

[go-nuts] Re: How to rewrite code and apply middleware gorilla mux routes

2019-04-03 Thread afriyie . abraham
On Wednesday, April 3, 2019 at 11:28:55 AM UTC+3, afriyie...@gmail.com wrote: > > Hi > > I have this working main function code and would like to rewrite it such > that the middleware "validateToken" would be applied > to all my gorilla mux routes. > Please attached is the file containg the