ids

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: May 7, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEntropy

func NewEntropy(t time.Time) io.Reader

Make entropy for ULID seed is given unix nano

func NewULID

func NewULID(entropy io.Reader) string

Generate sortable ULID seed is pre-generated entropy

func NewUUID

func NewUUID() string

Generate non-sortable UUID version 4 seed is now unix nano

func NewUUIDFromObj

func NewUUIDFromObj(obj []byte) string

Generate non-sortable UUID version 5 seed is byte slice of some object

Types

This section is empty.

Jump to

Keyboard shortcuts

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