Kamil Kisiel
f8220e087d
travis-ci: more recent go versions
10 years ago
Matt Silverlock
f7b6aaaa69
Merge pull request #122 from gorilla/README-badge-fix
...
Fixed GoDoc badge.
10 years ago
Matt Silverlock
e45852e537
Fixed GoDoc badge.
10 years ago
Kamil Kisiel
b0b2bc47bc
Quote domain names in README.md. Use example.com instead of domain.com
...
Fixes #119
10 years ago
Kamil Kisiel
5112c33f3a
slightly improve printing of regexps in failed tests.
10 years ago
Kamil Kisiel
e330fd08a3
Merge pull request #120 from shkw/reduce-variable-name-restriction
...
Reduce variable name restriction
11 years ago
Shinya Kawaguchi
d17b93cab8
Refactoring for better performance
11 years ago
Shinya Kawaguchi
273db68971
Fix regexp syntax error caused by variable names containing any characters except letters, digits, and underscores
11 years ago
Shinya Kawaguchi
577b9e4a65
Add tests for hyphenated variable names
11 years ago
Kamil Kisiel
ffb3f683aa
Merge pull request #118 from elithrar/full-example
...
Updated README w/ runnable example. Addresses #32 .
11 years ago
Matt Silverlock
ca524fd37f
Updated README w/ runnable example. Addresses #32 .
11 years ago
Kamil Kisiel
8965bfef36
Merge branch 'subexp-fix'
11 years ago
Kamil Kisiel
c3c5f0000f
Add test which used to fail for queries.
...
Fixes #66
11 years ago
Kamil Kisiel
780d0505d7
Update README
11 years ago
Kamil Kisiel
e73f183699
fix use of capturing subexpressions in pattern matches.
...
The router now associates a regexp named group with each mux variable.
It only fills variables when capturing group name match instead of
relying on indices, which doesn't work if a variable regexp has interior
capturing groups.
Fixes #62
11 years ago
Kamil Kisiel
5a8a040050
Merge pull request #116 from brocaar/add_current_route_note
...
Add note about the availability of CurrentRoute.
11 years ago
Orne Brocaar
13c8226081
Update comment and specify KeepContext option.
11 years ago
Orne Brocaar
39cff3481c
Add note about the availability of CurrentRoute.
11 years ago
Kamil Kisiel
f15e0c4946
Merge pull request #100 from eastwood/master
...
Issue #16 : Added regex support for matching headers
11 years ago
Clint Ryan
98fb535d77
Issue 16: Return the regexp compile error
11 years ago
Kamil Kisiel
ba336c9cfb
getUrlQuery: Use SplitN with a max of 2.
11 years ago
Kamil Kisiel
61445102e8
Merge pull request #111 from burrbd/master
...
Issue #109
11 years ago
Bay Dodd
3339267a85
adding tests
11 years ago
Bay Dodd
fe40f0d056
updating query match string
11 years ago
Kamil Kisiel
104068abd5
Merge pull request #106 from Digitalxero/router-walk-adjustments
...
Update the walk method …
11 years ago
Kamil Kisiel
fe156cb197
Merge pull request #108 from burrbd/master
...
fix for empty query
11 years ago
Bay Dodd
19f0a91c4e
adding test and updating condition
11 years ago
Bay Dodd
2b32409792
fix for empty query
11 years ago
Dj Gilcrease
92ae1d6726
Update the walk method to walk matchers so it walks the full list of routers and child routers
11 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
Kamil Kisiel
9cb89f07ca
Add a couple of additional tests for query strings.
11 years ago
Bay Dodd
0c9d5c08c1
refactoring
11 years ago
Bay Dodd
a710a8bfa9
adding ^ and $ to query pattern
11 years ago
Clint Ryan
306509329b
Merge branch 'master' of https://github.com/eastwood/mux
...
Conflicts:
mux.go
11 years ago
Clint Ryan
c21431a6cd
Fixed up commenting and removed unused code
11 years ago
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
11 years ago
Craig Jellick
a063f14812
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
11 years ago
Kamil Kisiel
47e8f450ef
Merge pull request #98 from cjellick/doc-fix
...
Fix typo
11 years ago
Craig Jellick
77f424d3ae
Fix typo
11 years ago
Kamil Kisiel
94903de8c9
Merge pull request #89 from gemnasium/add_tests_for_pipe
...
Add complementary test for patterns with pipe
11 years ago
Kamil Kisiel
660d31f860
Merge pull request #93 from shurcooL/patch-1
...
Fix up doc formatting, use spaces for alignment (tabs are for indentation only).
11 years ago
Dmitri Shuralyov
9641367e95
Fix up doc formatting, use spaces for alignment (tabs are for indentation only).
...
This fixes issue where if user has tab width other than 4, some lines will become misaligned. For example, see the package description at https://godoc.org/github.com/gorilla/mux .
11 years ago
Kamil Kisiel
8096f47503
Merge pull request #88 from gemnasium/add_tests_for_pipe
...
Add tests for patterns with pipe
11 years ago
Philippe Lafoucrière
e98fd88cbd
Add complementary test for patterns with pipe
11 years ago
Philippe Lafoucrière
00bf0e01a1
Add tests for patterns with pipe
...
closes #62
11 years ago
Kamil Kisiel
8a875a034c
Merge pull request #52 from sqs/BuildVarsFunc
...
BuildVarsFunc: modify route variables before building the URL from a route
11 years ago
Kamil Kisiel
e444e69cbd
Merge pull request #71 from Madrigal/patch-1
...
Rearrange code
11 years ago
Felipe Madrigal
d7e4639818
Rearrange rules for matching strict slash
11 years ago
Felipe Madrigal
8df3a80fb8
Rearrange getHost function
11 years ago
Kamil Kisiel
4b8fbc56f3
Merge pull request #67 from pwaller/patch-1
...
Remove blank line to fix docs for Route.Queries
12 years ago