Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UUIDGenerator ¶
A UUIDGenerator generates uuids either randomly or the same one every time (for test purposes)
func NewUUIDGenerator ¶
func NewUUIDGenerator(random bool) UUIDGenerator
NewUUIDGenerator returns a UUIDGenerator. If passed (true), the generator will produce a unique uuid every time. If passed (false), the generator will produce the same uuid every time.
Click to show internal directories.
Click to hide internal directories.