Documentation ¶
Index ¶
- type UUID
- func (u UUID) MarshalBinary() ([]byte, error)
- func (u UUID) MarshalText() (text []byte, err error)
- func (u *UUID) Scan(src interface{}) error
- func (u UUID) String() string
- func (u *UUID) UnmarshalBinary(data []byte) error
- func (u *UUID) UnmarshalText(text []byte) error
- func (u UUID) Value() (driver.Value, error)
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 ¶
FromString Wrapper around the real FromString
func (UUID) MarshalBinary ¶
MarshalBinary Wrapper over the real MarshalBinary method
func (UUID) MarshalText ¶
MarshalText Wrapper over the real MarshalText method
func (*UUID) Scan ¶
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) UnmarshalBinary ¶
UnmarshalBinary Wrapper over the real UnmarshalBinary method
func (*UUID) UnmarshalText ¶
UnmarshalText Wrapper over the real UnmarshalText method
Click to show internal directories.
Click to hide internal directories.