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