Fc augment request #18

wants to merge 3 commits into


None yet
1 participant

fcuny commented Apr 6, 2013

A few changes to the existing API (everything is subject to discussion of course :)

fcuny added some commits Apr 6, 2013

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`.

@fcuny fcuny closed this Apr 14, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment