https://github.com/hello2mao/go-common
Common libraries for Golang.
https://github.com/hello2mao/go-common
Last synced: 11 months ago
JSON representation
Common libraries for Golang.
- Host: GitHub
- URL: https://github.com/hello2mao/go-common
- Owner: hello2mao
- License: apache-2.0
- Created: 2020-03-10T08:41:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-01T02:11:59.000Z (about 6 years ago)
- Last Synced: 2025-03-02T11:49:21.910Z (over 1 year ago)
- Language: Go
- Size: 335 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-common
[](https://godoc.org/github.com/hello2mao/go-common)
[](https://goreportcard.com/report/github.com/hello2mao/go-common)
[](https://codecov.io/gh/hello2mao/go-common)
Most useful, high performance, safe golang common library.
## Stable
* [second_chance_cache](stable/second_chance_cache)
* This package implements Second-Chance Algorithm, an approximate LRU algorithms.
* [singleton](stable/singleton)
* A safe singleton.
* [csp](stable/csp)
* Cryptographic service provider: all kinds of AES/ECDSA/HASH.
* [wait](stable/wait)
* Wait/Retry for something to happen.
## Incubator
* [clock](incubator/clock)
* [diff](incubator/diff)
* [event](incubator/event)
* [executor](incubator/executor)
* [fsm](incubator/fsm)
* [rand](incubator/rand)
* [roles](incubator/roles)
* [runtime](incubator/runtime)
## Example
See example dir in submodule.