Help us shape the future of Go! Take the 2026 Go Developer Survey

stableid

package
v0.4.24 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUUIDv4

func NewUUIDv4(label string) (string, error)

func ValidateUUIDv4

func ValidateUUIDv4(label, id string) error

Types

type ValidationError added in v0.4.24

type ValidationError struct{ Message string }

ValidationError preserves the validation message and provides a precise next action to callers without coupling identity validation to a CLI or transport.

func (*ValidationError) Error added in v0.4.24

func (e *ValidationError) Error() string

func (*ValidationError) NextAction added in v0.4.24

func (e *ValidationError) NextAction() string

Jump to

Keyboard shortcuts

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