import ""



Package files

common.go uuid.go

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

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

MarshalBinary Wrapper over the real MarshalBinary method

func (UUID) MarshalText

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

MarshalText Wrapper over the real MarshalText method

func (*UUID) Scan

func (u *UUID) Scan(src interface{}) error

Scan implements the sql.Scanner interface. A 16-byte slice is handled by UnmarshalBinary, while a longer byte slice or a string is handled by UnmarshalText.

func (UUID) String

func (u UUID) String() string

String Wrapper over the real String method

func (*UUID) UnmarshalBinary

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

UnmarshalBinary Wrapper over the real UnmarshalBinary method

func (*UUID) UnmarshalText

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

UnmarshalText Wrapper over the real UnmarshalText method

func (UUID) Value

func (u UUID) Value() (driver.Value, error)

Value implements the driver.Valuer interface.

Generated by godoc2md