x/snowflake
2020-07-09 20:02:23 -07:00
..
README.md simplifying the repo, commands removed and proper libraries kept 2020-07-08 18:59:37 -07:00
snowflake_test.go simplifying the repo, commands removed and proper libraries kept 2020-07-08 18:59:37 -07:00
snowflake.go moving from uint64 to int64. allows use of snowflakes id in databases 2020-07-09 20:02:23 -07:00

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