Testing gorilla/mux handlers

Currently working on a prototype microservice and to get started quickly I decided to use gorilla/mux as my router because of its low barrier of entry and plenty of resources out there on it. One thing that has bothered me before when I have used mux was how to go about testing the HTTP handlers. Discovered a nice way to do it.

[Read More]
go