Documentation ¶
Overview ¶
Package id provides the functionality to generate identifiers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator interface {
NewID() string
}
Generator is an interface to generate identifiers.
type UUIDGenerator ¶
type UUIDGenerator struct{}
UUIDGenerator is a wrapper for github.com/google/uuid that implements the Generator interface.
Click to show internal directories.
Click to hide internal directories.