Created
August 17, 2017 01:25
-
-
Save emidoots/adc5b1e47cd17108ce26e124c21e3d0f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// NewRouter returns a new router instance. | |
func NewRouter() *Router { | |
return &Router{namedRoutes: make(map[string]*Route), KeepContext: false} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment