GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
A few changes to the existing API (everything is subject to discussion of course :)
Add a few convenient functions for URL to the Request type.
The three added functions allow an easier creation of URLs. This can be
useful when, in the application, the developer need to generate an
absolute URL (e.g.: for a redirect, to link to a resource, etc).
Create a router using the new functions from the router.
Create a router by calling `NewRouter` and add routes using the function `AddRoute`.
Add the function `Start` to the handler to start the HTTP server.