LimitGo is a set of Go libraries that includes collections and utils for math, limiting, caching, and more. The content of collections nearly has been completed, which draws on the experience of JDK8. The other parts are in progress.
Please see wiki, which explains detailed introduction and more samples. The tests in the source code may also helpful.
Category | Utils |
---|---|
Linear Collection | ArrayList, LinkedList, PriorityQueue, ArrayDeque, HashSet, SortedSet |
Map | SkipListMap |
Limiting | PermitLimiter, LeakyLimiter, SlidingWindow |
Caching | LRU, LRU2, LFU |
This project is a work in progress, you are welcomed to post any issue or pull request.