Documentation
¶
Overview ¶
Package ulid provides a ULID (Universally Unique Lexicographically Sortable Identifier) implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ULID ¶
type ULID struct{}
ULID is a struct that implements the ident.Identifier interface.
func (ULID) Name ¶
Name returns the name of the ULID implementation. It implements the ident.Identifier interface.
func (ULID) Size ¶
Size returns the size of a ULID string in bits. It implements the ident.Identifier interface.
func (ULID) String ¶ added in v0.2.15
String generates a new ULID string. It implements the ident.Identifier interface.
func (ULID) ValidateString ¶ added in v0.2.15
ValidateString checks if the given ID is a valid ULID. It implements the ident.Identifier interface.
Click to show internal directories.
Click to hide internal directories.