uuid

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UUID

type UUID [16]byte

UUID represents a UUID.

func New

func New() (UUID, error)

New returns a random UUIDv4. It uses a global pseudo-random number generator in randutil at package initialization.

New should not be used to generate cryptographically-secure random UUIDs.

func (UUID) String added in v1.12.0

func (uuid UUID) String() string

Jump to

Keyboard shortcuts

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