56 Commits (master)

Author SHA1 Message Date
Euan Kemp ff4e71f144 Guess the scheme if r.URL.Scheme is unset (#474) 6 years ago
Vivek V 884b5ffcbd Added capacity to slice creation, when capacity is known (#516) 6 years ago
Jonas De Beukelaer 9536e4053d bugfix: subrouter custom methodNotAllowed handler returning 404 (#509) (#510) 6 years ago
Souvik Haldar 8559a4f775 [docs] typo (#454) 7 years ago
Gregor Weckbecker 08e7f807d3 Ignore ErrNotFound while matching Subrouters (#438) 7 years ago
tomare ef912dd76e [bugfix] Clear matchErr when traversing subrouters. 7 years ago
Joe Wilner 758eb64354 Improve subroute configuration propagation #422 7 years ago
Kamil Kisiel 815b8c6a26 Clarify behaviour of Name method if called multiple times. 7 years ago
Matt Silverlock e3702bed27
[docs] Improve docstrings for middleware, skipclean (#375) 8 years ago
Matt Silverlock ded0c29b24
Fix linter issues (docs) (#370) 8 years ago
Kamil Kisiel 077b44c2cf [docs] Document route.Get* methods consistently (#338) 8 years ago
Kamil Kisiel 512169e5d7
refactor routeRegexp, particularily newRouteRegexp. (#328) 8 years ago
Matthew 7904d2e42e [docs] Add example usage for Route.HeadersRegexp (#320) 8 years ago
Matthew 4a3d4f3dd2 [bugfix] Fix method subrouter handler matching (#300) (#317) 8 years ago
Roberto Santalla 7f08801859 MatchErr is set to ErrNotFound if NotFoundHandler is used (#311) 8 years ago
Paul B. Beskow 10490f55fa GetQueryTemplates and GetQueryRegexp extraction (#304) 8 years ago
Mayank Patel a659b61323 Fix #271: Return 405 instead of 404 when request method doesn't match the route 8 years ago
Chris Hines ac112f7d75 Prefer scheme on child route when building URLs. 9 years ago
Chris Hines 37b3a6cace Use scheme from parent router when building URLs. 9 years ago
Pavel Ivanov 9c9af153a1 Add support for queries in URL reversing. 9 years ago
Chris Hines bcd8bc72b0 Support building URLs with non-http schemes. (#260) 9 years ago
Bulat Gaifullin b552615e22 Added method Route.GetMethods 9 years ago
Bulat Gaifullin 1856953e53 Added method Route.GetPathRegexp 9 years ago
Shane Smith-Sahnow ad4ce0eb16 updating logic in route matcher, cleaner and saner (#235) 9 years ago
ShaneSaww 293ebe1493 Adding in a check for routes with just / 9 years ago
Kush Mansingh 0a192a1931 Add useEncodedPath option to router and routes (#190) 9 years ago
Jingwen Owen Ou 05d9d908e7 Add `SkipClean()` to `*Route` 10 years ago
Jingwen Owen Ou 786d36e5ab `go fmt` 10 years ago
Dave Newman 8ac5cf967f Add SkipClean option 10 years ago
Dj Gilcrease f7ac7251e3 Update doc strings based on feedback 10 years ago
Matt Silverlock 02c98b3f73 [docs] Satisfied golint. 10 years ago
Dj Gilcrease 0d60c4bfeb Add tests for GetPathTemplate. Added GetHostTemplate and associated tests as well 10 years ago
Clint Ryan 8ae7a23e03 Fixed documentation from Issue 16 10 years ago
Kamil Kisiel b0b2bc47bc Quote domain names in README.md. Use example.com instead of domain.com 10 years ago
Dj Gilcrease 8eb02a9f12 Add URLPathTemplate to Route to make it easier to generate a API page that lists all routes by template 11 years ago
Bay Dodd a710a8bfa9 adding ^ and $ to query pattern 11 years ago
Craig Jellick c0a5cbce5a Fix typo 11 years ago
Craig Jellick a063f14812 Fix typo 11 years ago
Craig Jellick 77f424d3ae Fix typo 11 years ago
Peter Waller 8f1a419c38 Remove blank line to fix docs for Route.Queries 12 years ago
Raphael Simon 451fd8b779 Additional code cleanup (see comments on issue #56) 12 years ago
Raphael Simon 3505396fb5 Code cleanup (see comments on issue #56) 12 years ago
Raphael Simon 69237eaae5 Fix "Queries" matcher to support out-of-order query string parameters 12 years ago
Raphael Simon 0a0d6a1b2a Add tests for regexp variables in query strings 12 years ago
Raphael Simon 65cc9b5df8 Add ability to capture variables in query strings 12 years ago
Quinn Slack a883d5a9b9 Call parent BuildVarsFuncs 12 years ago
Quinn Slack cef3b0cd6d Add BuildVarsFunc to allow modifying route variables before generating a route's URL 12 years ago
Thomas ten Cate b864f07c53 Propagate StrictSlash to subrouters instead of rudely turning it off 12 years ago
Thomas ten Cate 033224c12e Document behaviour of StrictSlash and PathPrefix better, and add tests to nail this down 12 years ago
Thomas ten Cate 525eff436e Improve docs about leading and trailing slashes 12 years ago