uuid

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2021 License: Apache-2.0 Imports: 2 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 is a 128 bit (16 byte) Universal Unique IDentifier as defined in RFC 4122. https://tools.ietf.org/html/rfc4122

func NewV4

func NewV4() (*UUID, error)

NewV4 creates a new random (version 4) UUID.

func (*UUID) String

func (uuid *UUID) String() string

String returns the string form of uuid.

Jump to

Keyboard shortcuts

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