uuid

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrIncorrectUUIDFormat = errors.New("uuid: format must be an uuid version 4")
)

Functions

func ValidateUUID

func ValidateUUID(id string) error

Types

type UUID

type UUID [16]byte

https://tools.ietf.org/html/rfc4122

func NewUUID

func NewUUID() (*UUID, error)

func (*UUID) String

func (uuid *UUID) String() string

Jump to

Keyboard shortcuts

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