diff options
| author | 2017-11-07 13:34:26 -0800 | |
|---|---|---|
| committer | 2017-11-07 13:36:44 -0800 | |
| commit | 99c6dfaecc2e0a2452a4142b533035aa52dbe6f2 (patch) | |
| tree | a73fd39996767719dffbedb455a02c6baafe417c /python/python.go | |
| parent | 5c9cf6eb84f3130b09f19e030ef95239d3cb7527 (diff) | |
Add OncePer.Get()
Allow functions to get the result associated with a OncePer key without
also specifiying a function. Panics if the key has not already been
set. Also replace the open-coded concurrent map implementation with
the new sync.Map.
Test: m checkbuild
Change-Id: I814fdb1ffffaee8398dc877af146e29638c8a6a8
Diffstat (limited to 'python/python.go')
0 files changed, 0 insertions, 0 deletions