https://github.com/xiaonanln/keylock
Golang utility class KeyLock: lock by string key, so as to avoid giant lock
https://github.com/xiaonanln/keylock
Last synced: about 1 year ago
JSON representation
Golang utility class KeyLock: lock by string key, so as to avoid giant lock
- Host: GitHub
- URL: https://github.com/xiaonanln/keylock
- Owner: xiaonanln
- License: apache-2.0
- Created: 2016-01-02T16:25:38.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-08-31T17:03:58.000Z (almost 4 years ago)
- Last Synced: 2025-03-27T04:22:40.953Z (about 1 year ago)
- Language: Go
- Size: 6.84 KB
- Stars: 15
- Watchers: 1
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - xiaonanln/keylock - Golang utility class KeyLock: lock by string key, so as to avoid giant lock (<a name="Go"></a>Go)
README
# keylock
Golang utility class KeyLock: lock by string key, so as to avoid giant lock
## Testing
Since this utility deals with concurrency so much, it is important to run the tests with the `-race` flag:
$ go test -race