This library provides some utils or extension.
go get github.com/go-eden/commonetime extend golang's time package, and it should be faster than time. In my benchmark, the performance
of etime.Now* was about 40 ns/op, time.Now() was about 68 ns/op:
some math utils.
Provides an implementation of reentrant lock or reentrant mutex.
Wraps some atomic number:
AtomicBoolAtomicIntAtomicUint16AtomicFloat32AtomicFloat64
goid provides Gid() function to find ID of the current goroutine.
MIT