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 |
Tyler Bunnell
|
6e5f0a5765
|
Remove defer
defer has a significant overhead.
|
12 years ago |
Tyler Bunnell
|
dad32f9532
|
Switch to RWMutex
|
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 |
pjvds
|
da513c3221
|
Adds GetAll method
GetAll returns all stored values for the request as a map.
|
13 years ago |
Andrews Medina
|
b8a1d5a34a
|
go fmt.
result of `gofmt -s -w .`.
|
12 years ago |
Dmitry Bochkarev
|
3968bf33e7
|
GetOk(r, key) (value, ok)
|
13 years ago |
Kamil Kisiel
|
c6c09957da
|
Revert "Added a Context type for non-global contexts."
This reverts commit bbd3ed3168.
|
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 |