Commit Graph

15 Commits

Author SHA1 Message Date
Clint Ryan
c21431a6cd Fixed up commenting and removed unused code 2015-07-05 20:18:38 +10:00
Craig Jellick
c0a5cbce5a Fix typo
Issue #16: Added regex support for matching headers

Issue #16 : Addressed code review and refactored support for regex into
a separate function

Added compiled regex to route matcher
2015-07-05 20:15:55 +10:00
Kamil Kisiel
8a875a034c Merge pull request #52 from sqs/BuildVarsFunc
BuildVarsFunc: modify route variables before building the URL from a route
2015-02-13 11:22:55 -08:00
Kamil Kisiel
854d482e26 Fix racy modification of NotFoundHandler. 2014-06-04 14:12:38 -07:00
Quinn Slack
a883d5a9b9 Call parent BuildVarsFuncs 2014-04-23 11:44:16 -07:00
Quinn Slack
cef3b0cd6d Add BuildVarsFunc to allow modifying route variables before generating a route's URL 2014-04-23 11:44:16 -07:00
Thomas ten Cate
b864f07c53 Propagate StrictSlash to subrouters instead of rudely turning it off 2014-04-23 19:53:35 +02:00
Thomas ten Cate
033224c12e Document behaviour of StrictSlash and PathPrefix better, and add tests to nail this down 2014-04-23 18:19:14 +02:00
Quinn Slack
9ee70e572c gofmt 2014-04-17 00:44:35 -07:00
Philip Schlump
d10d5466f2 Fixed problem with droping query string. 2013-11-14 19:27:38 -07:00
Julien Schmidt
0ae6d35b08 Fix typo
remove doubly present "the"
2013-09-11 20:33:30 +02:00
John Nadratowski
e718e932ee Add KeepContext flag to Router to disable clearing of context data. 2013-07-09 21:15:18 -07:00
Sergey Shepelev
38545dbae8 Removed excess bool variable assignment in ifs 2013-02-03 06:48:19 +04:00
Jongmin Kim
78f6049258 Update mux.go
unnecessary comma
2013-01-17 17:52:41 +09:00
moraes
eac83ba2c0 Initial files. 2012-10-03 01:48:17 -03:00