Table of Contents
go-lockable provides a simple implementation for acquiring locks by key. This can be useful when multiple goroutines need to manipulate a map atomically using async code without blocking access to all keys.
go get github.com/MysteriousPotato/go-lockable
For examples, please refer to the Examples
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Distributed under the MIT License. See LICENSE for more information.