uuid

package
v0.19.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrGeneratingID = errors.New("failed to generate uuid")

ErrGeneratingID indicates error in generating UUID.

Functions

This section is empty.

Types

type IDProvider

type IDProvider interface {
	ID() (string, error)
}

IDProvider specifies an API for generating unique identifiers.

func New

func New() IDProvider

New instantiates a UUID provider.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL