idgen

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package idgen provides unique id generation utilities that use twitter's snowflake algorithm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Next

func Next() (id uint64, err error)

Next generates next id as an uint64

func NextString

func NextString() (id string, err error)

NextString generates next id as a string

Types

This section is empty.

Jump to

Keyboard shortcuts

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