uuid

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2016 License: MIT Imports: 1 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 This is needed to build with gopherjs

func FromString

func FromString(input string) (UUID, error)

FromString Wrapper around the real FromString

func NewV4

func NewV4() UUID

NewV4 Wrapper over the real NewV4 method

func (UUID) MarshalBinary added in v1.1.0

func (u UUID) MarshalBinary() ([]byte, error)

MarshalBinary Wrapper over the real MarshalBinary method

func (UUID) MarshalText added in v1.1.0

func (u UUID) MarshalText() (text []byte, err error)

MarshalText Wrapper over the real MarshalText method

func (UUID) String

func (u UUID) String() string

String Wrapper over the real String method

func (*UUID) UnmarshalBinary added in v1.1.0

func (u *UUID) UnmarshalBinary(data []byte) error

UnmarshalBinary Wrapper over the real UnmarshalBinary method

func (*UUID) UnmarshalText added in v1.1.0

func (u *UUID) UnmarshalText(text []byte) error

UnmarshalText Wrapper over the real UnmarshalText method

Jump to

Keyboard shortcuts

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