uuid

package
v2.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Package uuid adapts UUID generation to the core ID generator port.

The wrapper keeps UUID-specific dependencies in contrib while giving application wiring a concrete identifier generator for ports.IDGen.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUUIDGen

func NewUUIDGen() ports.IDGen

NewUUIDGen creates a new Generator backed by github.com/google/uuid.

Types

type UUIDGen

type UUIDGen struct{}

UUIDGen generates UUID strings.

func (UUIDGen) New

func (UUIDGen) New() string

New returns a new UUID string.

Jump to

Keyboard shortcuts

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