Keelan Lightfoot
808cf93f71
fixed broken case in readme
пре 7 година
Keelan Lightfoot
f4e22cffb2
fixed broken case in readme
пре 7 година
Keelan Lightfoot
90feea4d78
removed line break in readme
пре 7 година
Keelan Lightfoot
842cbfc85a
pathrouter intitial commit
пре 7 година
Julien Schmidt
d189839077
travis: fix Go 1.10 env
пре 7 година
Julien Schmidt
8545a7bcb5
travis: test with Go 1.10
пре 7 година
Julien Schmidt
a859014af4
rename params files
пре 7 година
Rodolfo Rodriguez
1a335ec78c
Update README.md (#225 )
пре 7 година
Marcus Franke
6115e6d293
travis: go versions (#227 )
There is a gap in the tested go versions. tip points already to the coming 1.10.
I added the kind of missing 1.9 release
пре 7 година
Travis Parker
d767e59089
Params via Go 1.7 Contexts (#147 )
* Supports Params in net/http Handlers with go1.7+
Go 1.7 introduces request-scoped context, providing a place to hang
Params even in net/http standard Handlers attached with Router.Handler
or Router.HandlerFunc.
This provides an alternative implementation of Router.Handler which
attaches the params to the request context. It also includes a bit of
new public API: ParamsKey is the context key used, and
ParamsFromContext uses ParamsKey to get Params from a context.Context.
All of this is guarded by a "go1.7" build tag. With go 1.6 and older
none of the new API is available and Params continue to be thrown away
in Handler/HandlerFunc-attached endpoints.
* WithValue is the 'context' function
* use an un-exported struct{} alias to collision-proof the key
* no longer a const
* update README.md to reflect additional allocations with the stdlib-compatible api
пре 7 година
Conor Landry
e1b9828bc9
README: Fix typo in example code comment for ServeHTTP method (#193 )
пре 7 година
Edward Betts
1779f7e889
README: fix typo (#215 )
Same as #221 🤷♂️
пре 7 година
Rebecca Stambler
0b0afca848
router_test.go: fix to handle changes to Content-Type header (#220 )
пре 7 година
Darren Scerri
78865fbbf4
README: Fix typo (#221 )
пре 7 година
Julien Schmidt
975b5c4c7c
travis: use gofmt simplify flag
пре 7 година
Julien Schmidt
bc86d84272
travis: remove Go versions not supporting golint
пре 7 година
Julien Schmidt
3130c1a741
travis: check go vet, gofmt and golint
пре 7 година
Julien Schmidt
18be18fd6d
README: add coverage badge
пре 7 година
Julien Schmidt
10689509bd
travis: remove Go 1.1
go test does not support the -covermode flag yet
пре 7 година
Julien Schmidt
90dcf29ffc
travis: add coveralls
пре 7 година
Julien Schmidt
e2f7b3d7cf
Test with Go 1.8
пре 7 година
blinklv
6f3f3919c8
Fix some panic information when a 'catch-all' wildcard conflict occurs. (#182 )
пре 7 година
Julien Schmidt
bded8bf831
README: Fix URLs
Githubs markdown renderer doesn’t seem to like this syntax
пре 7 година
TobiEiss
d72fcf5176
update framework list (#180 )
Include goMiddlewareChain
* add link
пре 7 година
Julien Schmidt
8a45e95fc7
Fix typo
Fixes #171
пре 8 година
Julien Schmidt
5dd70ee059
Merge pull request #166 from donutloop/master
incrementChildPrio: Improved swap node position
пре 8 година
Marcel Edmund Franke
d35c3c30a6
Improved swap node position
пре 8 година
Julien Schmidt
4563b0ba73
Travis: Test with Go 1.7
пре 8 година
Julien Schmidt
59934fa0c2
tree: Remove superfluous ' in panic reason
пре 8 година
Julien Schmidt
d85e49a534
tree: Improve wildcard conflict panic reason
Fixes #151
пре 8 година
Julien Schmidt
3695eeab10
README: Remove gocover.io
seems to be broken
пре 8 година
Julien Schmidt
d8ff598a01
README: try to fix the coverage badge
пре 8 година
Julien Schmidt
38329ebacf
Merge pull request #152 from nothingmuch/patch-1
README: Improve readability of BasicAuth example
пре 8 година
Yuval Kogman
9dcdf460b9
Improve readability of BasicAuth example
Since `net/http` already provides the necessary functionality, this change removes the technical details of parsing RFC 2617 headers.
пре 8 година
Julien Schmidt
fb79d6a91d
Merge pull request #150 from abiosoft/patch-1
Add River to list of frameworks
пре 8 година
Abiola Ibrahim
f6757499d6
Add River to list of frameworks
пре 8 година
Julien Schmidt
77366a4745
Travis: Test with Go 1.6
пре 9 година
Julien Schmidt
153d9c9fa8
Add OPTIONS to list in Allow header
Fixes #132
пре 9 година
Julien Schmidt
2c34ec888a
README: Add xmux the list
пре 9 година
Julien Schmidt
fd848ba9ca
Update README.md
пре 9 година
Julien Schmidt
b74da820a2
tree: remove dead code
пре 9 година
Julien Schmidt
6e0ff1339a
tree: avoid recursion in case-insensitive when possible
пре 9 година
Julien Schmidt
a7a8c643b9
Fix case-insensitive unicode lookup
Updates #113
пре 9 година
Julien Schmidt
ee60de09e7
tree: fix case-insensitive unicode lookup
Fixes #113
пре 9 година
Julien Schmidt
d94d446eb3
typo in comment
пре 9 година
Julien Schmidt
5273944025
Native OPTIONS handling
Fixes #98
пре 9 година
Julien Schmidt
b8b15a273d
tree: explicitly use node type static
Fixes #104
пре 9 година
Julien Schmidt
9cf8746fac
Ignore OPTIONS as allowed method
пре 9 година
Julien Schmidt
02d2b7cc4b
Send Allow header when 405 Method Not Allowed
Required by RFC 2616
пре 9 година
Julien Schmidt
abb0dc9f75
Merge pull request #127 from ReadmeCritic/master
Update README URLs based on HTTP redirects
пре 9 година