Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Generator ¶
type Generator interface {
GetUUID() string
}
Generator is used to generate opaque unique strings.
func NewFlakeGenerator ¶
func NewFlakeGenerator() Generator
NewFlakeGenerator create a flakeGenerator instance
func NewTimeGenerator ¶
func NewTimeGenerator() Generator
Click to show internal directories.
Click to hide internal directories.