package
Version:
v0.2.1
Opens a new window with list of versions in this module.
Published: Oct 24, 2020
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
snowflake
A snowflake ID generator based on instagram and twitter's snowflake concept
Install
go get github.com/jchenry/snowflake
Usage
import "github.com/jchenry/snowflake"
func main(){
snowflake.Next()
}
Contributing
PRs accepted.
License
MIT © Colin Henry
Documentation
¶
Next returns the next logical snowflake
Source Files
¶
Click to show internal directories.
Click to hide internal directories.