package
0.0.13
Repository: https://github.com/arden/easy.git
Documentation: pkg.go.dev

# Functions

Decode decodes a hex, base32 or base64 encoded flake.
FromBytes decodes a 8 bit flake instance from bytes.
Next is a shorthand for Default.Next().
NextRaw is a shorthand for Raw.Next().
WithEpochStart is a shorthand for Default.WithEpochStart(time).
WithMachineId is a shorthand for Default.WithMachineId(machineId).

# Variables

Default is the default singleton of Flaker with sets the lower 8 bits of the first non loopback IPv4 address (zero if not available) as machine-id and the 1/1/2020 as epoch start (epoch is only needed for sortable IDs).
No description provided by the author

# Interfaces

Flaker is the generator interface.

# Type aliases

Flake represents a unique 63 bit ID.