Thomas ten Cate
b864f07c53
Propagate StrictSlash to subrouters instead of rudely turning it off
12 years ago
Thomas ten Cate
3509745ae8
Add tests for all four StrictSlash cases
12 years ago
Thomas ten Cate
bac1372129
Convert TestStrictSlash to a table driven test
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
Kamil Kisiel
270c42505a
Merge pull request #49 from sqs/gofmt
...
Apply gofmt
12 years ago
Quinn Slack
9ee70e572c
gofmt
12 years ago
Kamil Kisiel
9ede152210
Add go 1.2 to travis.yml
12 years ago
Kamil Kisiel
c4e0d8b371
Merge pull request #41 from pschlump/master
...
Fix to keep query string intact when 301 redirect occurs.
12 years ago
Kamil Kisiel
e807f7c338
Add Travis badge
12 years ago
Kamil Kisiel
3829d74241
Add travis.yml
12 years ago
Kamil Kisiel
db86729398
Merge pull request #43 from andrewsmedina/gofmt
...
go fmt.
12 years ago
Andrews Medina
cebebed6c4
go fmt.
...
result of `gofmt -s -w . `.
12 years ago
Philip Schlump
ab8ae247f1
Fixed the domain name copied from my other code to be example.com
12 years ago
Philip Schlump
6689ee8243
Cleaned up testing.
12 years ago
Philip Schlump
1a2411f44a
Added tests to verify that the 301 redirect returns query string
12 years ago
Philip Schlump
d10d5466f2
Fixed problem with droping query string.
12 years ago
Kamil Kisiel
42cbcc5a24
Merge pull request #38 from TheDude05/fix-doc-typo
...
Fix typo in documentation
12 years ago
Andrew Williams
9d99a92775
Remove extra parentheses
12 years ago
Kamil Kisiel
b08c5fcf14
Merge pull request #35 from JulienSchmidt/patch-1
...
Fix typo
12 years ago
Julien Schmidt
0ae6d35b08
Fix typo
...
remove doubly present "the"
12 years ago
Kamil Kisiel
ea1bb06e00
Merge pull request #33 from Crisfole/fixDocumentation
...
Add "of" like the rest of the function docstrings
12 years ago
Christopher Pfohl
04a79835ae
Add "of" like the rest of the function docstrings
12 years ago
John Nadratowski
e718e932ee
Add KeepContext flag to Router to disable clearing of context data.
13 years ago
rodrigo moraes
9b36453141
Update README.md
13 years ago
Kamil Kisiel
b9f42e6d55
Tweak example indent
13 years ago
Kamil Kisiel
36205eb8f1
Merge pull request #15 from yodaiken/master
...
Add example of a Matcher Func in documentation
13 years ago
Aaron Yodaiken
bb851ab75f
Add example MatcherFunc
13 years ago
rodrigo moraes
51a7bc30e9
Merge pull request #12 from temoto/patch-1
...
Removed excess bool variable assignment in `if`s
13 years ago
Sergey Shepelev
38545dbae8
Removed excess bool variable assignment in `if`s
13 years ago
rodrigo moraes
2d12ebab42
Merge pull request #9 from golanger/master
...
Remove unnecessary comma
13 years ago
Jongmin Kim
78f6049258
Update mux.go
...
unnecessary comma
13 years ago
moraes
a8ad2b0f13
Now the real test for https://plus.google.com/101022900381697718949/posts/eWy6DjFJ6uW
13 years ago
moraes
b20a198901
Test for https://plus.google.com/101022900381697718949/posts/eWy6DjFJ6uW
13 years ago
rodrigo moraes
99a7fbf244
Merge pull request #3 from kisielk/test
...
Finished converting rest of mux tests to table tests
13 years ago
Kamil Kisiel
f89494aed1
Finished converting rest of mux tests to table tests
...
Separated the tests in to test functions depending on what they are
testing.
Moved some test-specific functiosn in to closures within the test
functions themselves.
13 years ago
rodrigo moraes
67d903c9a4
Merge pull request #1 from kisielk/test
...
Converted TestRoute to a table-driven test
13 years ago
Kamil Kisiel
bcb4f4bcdc
Converted TestRoute to a table-driven test
13 years ago
moraes
eac83ba2c0
Initial files.
13 years ago
rodrigo moraes
4e8d10dc71
Initial commit
13 years ago