uuid

package
v0.0.0-...-850ec13 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2019 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 string

UUID represents a simple UUID type.

func FromBytes

func FromBytes(b []byte) UUID

FromBytes returns UUID from bytes representation.

func New

func New() UUID

New returns a new random UUID v4.

func (UUID) Bytes

func (u UUID) Bytes() []byte

Bytes returns a bytes representation of UUID.

func (UUID) String

func (u UUID) String() string

String returns a string representation of UUID.

Jump to

Keyboard shortcuts

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