uuid

package
v0.0.0-...-c5bcced Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NamespaceDNS  = uuid.NamespaceDNS
	NamespaceURL  = uuid.NamespaceURL
	NamespaceOID  = uuid.NamespaceOID
	NamespaceX500 = uuid.NamespaceX500
)

Functions

This section is empty.

Types

type UUID

type UUID struct {
	uuid.UUID
}

func New

func New() *UUID

New returns a new UUID (Version 4) using 16 random bytes or panics.

func Parse

func Parse(input string) *UUID

Parse parses and checks for a valid UUID string, and returns nil if not valid.

Jump to

Keyboard shortcuts

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