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

uuidutil

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FieldsToRows

func FieldsToRows(fields []Field) [][]string

FieldsToRows converts decoded fields into table rows.

func Generate

func Generate(version int, namespace string) (uuid.UUID, error)

Generate creates a UUID for the requested version.

Types

type Field

type Field struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

Field represents a decoded UUID field.

func Decode

func Decode(id uuid.UUID) []Field

Decode extracts human-readable fields from a UUID.

Jump to

Keyboard shortcuts

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