上QQ阅读APP看书,第一时间看更新
Implementing HTTP request routing using Gorilla Mux
Go’s net/http package offers a lot of functionalities for URL routing of the HTTP requests. One thing it doesn’t do very well is dynamic URL routing. Fortunately, we can achieve this with the gorilla/mux package, which we will be covering in this recipe.