Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeToUint64 ¶
Decodes the given base58 encoded data to Uint64
func DecodeToUuid ¶
Decodes the given base58 encoded string to UUID
func GenerateId ¶
func NewSnowflakeId ¶
func NewSnowflakeId() uint64
Generates a new ID, based on snowflake implementation.
func NewSnowflakeIdEnc ¶
func NewSnowflakeIdEnc() string
Generates a base58 encoded new ID, based on snowflake implementation
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.