areski
|
ecbca1cc24
|
Add Travis-ci tests build on Go version 1.3 / 1.4
|
11 years ago |
Kamil Kisiel
|
50c25fb3b2
|
benchmark: fix parallelWriter.
Fixes #18
|
11 years ago |
Kamil Kisiel
|
14f550f51a
|
Merge pull request #14 from LK4D4/fix_race_in_get
Fix racy code in Get
|
12 years ago |
Alexandr Morozov
|
9af56363a7
|
Fix racy code in Get
|
12 years ago |
Kamil Kisiel
|
1f3e8a46c5
|
Return a shallow copy of the result in GetAll and GetAllOk.
Fixes #13
|
12 years ago |
Kamil Kisiel
|
b06ed15e1c
|
Merge pull request #12 from tylerb/master
Use a RWMutex in place of a Mutex
|
12 years ago |
Tyler Bunnell
|
13ce75261f
|
More comprehensive benchmarking
|
12 years ago |
Tyler Bunnell
|
ee79a2c21b
|
Fix golint warning
|
12 years ago |
Tyler Bunnell
|
6e5f0a5765
|
Remove defer
defer has a significant overhead.
|
12 years ago |
Tyler Bunnell
|
dad32f9532
|
Switch to RWMutex
|
12 years ago |
Tyler Bunnell
|
cffbf44e85
|
Add mutex benchmark
|
12 years ago |
Kamil Kisiel
|
1be7a086a5
|
Merge pull request #11 from adammck/add_getall
Add GetAll method (take two)
|
12 years ago |
Adam Mckaig
|
116fc839c2
|
Add tests for GetAllOk
|
12 years ago |
Adam Mckaig
|
8b602e7641
|
Fix docstring
|
12 years ago |
Pieter Joost van de Sande
|
b680aaae68
|
Return map instead of pointer value
As kisielk just [told me](709e005f84 (commitcomment-3636470),) maps can be nil
|
13 years ago |
Pieter Joost van de Sande
|
08e2e8a9bc
|
Remove GetAllOk method and GetAll now returns nil for invalid request
|
13 years ago |
Pieter Joost van de Sande
|
77bafb62fd
|
Adds GetAllOk
|
13 years ago |
Pieter Joost van de Sande
|
3e810b0ccc
|
Return empty map when there are no values
|
13 years ago |
Pieter Joost van de Sande
|
6405b672ff
|
Adds test for GetAll for empty request
|
13 years ago |
Pieter Joost van de Sande
|
fac5866e50
|
Adds test for GetAll for existing request
|
13 years ago |
pjvds
|
da513c3221
|
Adds GetAll method
GetAll returns all stored values for the request as a map.
|
13 years ago |
Kamil Kisiel
|
a08edd30ad
|
Add go 1.2 to travis.yml
|
12 years ago |
Kamil Kisiel
|
bb1bb4d879
|
Add Travis badge
|
12 years ago |
Kamil Kisiel
|
37ad08d495
|
Merge branch 'master' of github.com:gorilla/context
|
12 years ago |
Kamil Kisiel
|
257e3549c5
|
Add travis.yml
|
12 years ago |
Kamil Kisiel
|
9192307f0e
|
Merge pull request #8 from andrewsmedina/gofmt
go fmt.
|
12 years ago |
Andrews Medina
|
b8a1d5a34a
|
go fmt.
result of `gofmt -s -w .`.
|
12 years ago |
rodrigo moraes
|
708054d61e
|
Merge pull request #5 from DmitryBochkarev/GetOk
GetOk(r, key) (value, ok)
|
13 years ago |
Dmitry Bochkarev
|
989863b11f
|
fix doc.go
|
13 years ago |
Dmitry Bochkarev
|
3968bf33e7
|
GetOk(r, key) (value, ok)
|
13 years ago |
rodrigo moraes
|
a8662172a3
|
Update README.md
|
13 years ago |
Kamil Kisiel
|
12bc3a0632
|
Fix up grammar in docs.
|
13 years ago |
Kamil Kisiel
|
c6c09957da
|
Revert "Added a Context type for non-global contexts."
This reverts commit bbd3ed3168.
|
13 years ago |
Kamil Kisiel
|
bf37eee315
|
Merge commit 'cdee84d'
|
13 years ago |
Kamil Kisiel
|
cdee84d5cb
|
Documented that gorilla/pat also clears the context as of 9ff7555
|
13 years ago |
Kamil Kisiel
|
bbd3ed3168
|
Added a Context type for non-global contexts.
Implemented the current globalContext using the new type.
|
13 years ago |
moraes
|
11ae2122d9
|
Initial files.
|
13 years ago |
rodrigo moraes
|
652e24b8c8
|
Initial commit
|
13 years ago |