github.com/takama/router (go): Package router 0.6.5 provides fast HTTP request router.  The router matches incoming requests by the request method and the path. If a handle is registered for this path and method, the router delegates the request to defined handler. The router package is useful to prepare a RESTful API for Go services. It has JSON output, which bind automatically for relevant type of data. The router has timer feature to display duration of request handling in the header  Simplest example (serve static route):  Check it:  Serve dynamic route with parameter:  Checks JSON Content-Type automatically:  Custom handler with "Access-Control-Allow" options and compact JSON:  Use google json style `https://google.github.io/styleguide/jsoncstyleguide.xml`  Go Router
Keywords: go|golang|http|json|router