goa: github.com/goadesign/goa/uuid Index | Files

package uuid

import "github.com/goadesign/goa/uuid"


Package Files

common.go uuid.go

type UUID Uses

type UUID [16]byte

UUID This is needed to build with gopherjs

func FromString Uses

func FromString(input string) (UUID, error)

FromString Wrapper around the real FromString

func NewV4 Uses

func NewV4() UUID

NewV4 Wrapper over the real NewV4 method

func (UUID) MarshalBinary Uses

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

MarshalBinary Wrapper over the real MarshalBinary method

func (UUID) MarshalText Uses

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

MarshalText Wrapper over the real MarshalText method

func (*UUID) Scan Uses

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 Uses

func (u UUID) String() string

String Wrapper over the real String method

func (*UUID) UnmarshalBinary Uses

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

UnmarshalBinary Wrapper over the real UnmarshalBinary method

func (*UUID) UnmarshalText Uses

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

UnmarshalText Wrapper over the real UnmarshalText method

func (UUID) Value Uses

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

Value implements the driver.Valuer interface.

Package uuid imports 3 packages (graph) and is imported by 43 packages. Updated 2018-05-02. Refresh now. Tools for package owners.