package
Version:
v0.27.0-rc.10
Opens a new window with list of versions in this module.
Published: Sep 10, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 6
Opens a new window with list of known importers.
Documentation
¶
Generate returns a new UUID v4 from the package's backend. Use it rather than the uuid package
directly, so a test can make identifiers deterministic.
Parse reads a UUID from its string form. It does not go through the backend: parsing has no
behaviour worth substituting in a test.
type UUID interface {
Generate() string
}
UUID is an interface that can provide uuid related functionality which allows us to test uuid dependent code.
DefaultBackend is used to configure the defaultBackend.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.