uuid

package
v0.0.0-...-d1c0bb1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2016 License: Apache-2.0 Imports: 6 Imported by: 65

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal(uuid1 UUID, uuid2 UUID) bool

Types

type UUID

type UUID [16]byte

UUID is 128bits = 16bytes

func New

func New() (*UUID, error)

func Parse

func Parse(s string) (*UUID, error)

func (UUID) IsZero

func (uuid UUID) IsZero() bool

func (UUID) MarshalJSON

func (uuid UUID) MarshalJSON() ([]byte, error)

func (UUID) String

func (uuid UUID) String() string

func (*UUID) UnmarshalJSON

func (uuid *UUID) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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