Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValid ¶
IsValid returns true if the given string is [ULID](https://github.com/ulid/spec) compliant.
func New ¶
func New() string
New returns a new [ULID](https://github.com/ulid/spec) with the current Unix milliseconds timestamp and rand.Reader as the entropy source.
It may panic, because it uses ulid.MustNew under the hood.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.