uuid

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorInvalidID = errors.New("Invalid ID.")
)

Functions

This section is empty.

Types

type UUID

type UUID [16]byte

func New

func New() *UUID

func ParseBytes

func ParseBytes(b []byte) (*UUID, error)

func ParseString

func ParseString(str string) (*UUID, error)

func (*UUID) Bytes

func (this *UUID) Bytes() []byte

func (*UUID) Equals

func (this *UUID) Equals(another *UUID) bool

func (*UUID) Next added in v1.9.1

func (this *UUID) Next() *UUID

Next generates a deterministic random UUID based on this UUID.

func (*UUID) String

func (this *UUID) String() string

Jump to

Keyboard shortcuts

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