Documentation
¶
Overview ¶
Package shortid provides a generator for short IDs. Generated IDs are based on short IDs (github.com/teris-io/shortid).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator implements an ID generator based on short IDs.
func (*Generator) GenerateID ¶
GenerateID generates a new ID.
Click to show internal directories.
Click to hide internal directories.