idgen

package
Version: v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 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.

Source Files

Jump to

Keyboard shortcuts

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