uuid

package
v0.51.1 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Nil       = uuid.Nil
	MustParse = uuid.MustParse
)

Functions

func SetFakeUUID

func SetFakeUUID(t *testing.T, format string)

SetFakeUUID sets a fake UUID for testing. The 'format' is used to generate a fake UUID and must contain a single '%d' which will be replaced with a counter.

Types

type UUID added in v0.50.0

type UUID = uuid.UUID

func New

func New() UUID

Jump to

Keyboard shortcuts

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