common

module
v0.1.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2021 License: MIT

README

Common util or extension

This library provides some utils or extension.

Install

go get github.com/go-eden/common

Modules

etime

etime 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:

emath

some math utils.

esync

Provides an implementation of reentrant lock or reentrant mutex.

goid

goid provides Gid() function to find ID of the current goroutine.

License

MIT

Directories

Path Synopsis
cgo
demo command
g
Package g exposes goroutine struct g to user space.
Package g exposes goroutine struct g to user space.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL