github.com/goadesign/goa/uuid


uuid

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

Overview

Index

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) 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


Generated by godoc2md