Documentation ¶
Index ¶
- Variables
- type UMID
- func (id UMID) ClockSequence() int
- func (id UMID) MarshalBinary() ([]byte, error)
- func (v UMID) MarshalMUS(buf []byte) int
- func (id UMID) MarshalText() ([]byte, error)
- func (id *UMID) Scan(src interface{}) error
- func (v UMID) SizeMUS() int
- func (id UMID) String() string
- func (id *UMID) UnmarshalBinary(data []byte) error
- func (v *UMID) UnmarshalMUS(buf []byte) (int, error)
- func (id *UMID) UnmarshalText(data []byte) error
- func (id UMID) Value() (driver.Value, error)
- func (id UMID) Variant() byte
- func (id UMID) Version() byte
Constants ¶
This section is empty.
Variables ¶
View Source
var Nil = UMID{}
Functions ¶
This section is empty.
Types ¶
type UMID ¶
type UMID uuid.UUID
func ParseBytes ¶
func (UMID) ClockSequence ¶
func (UMID) MarshalBinary ¶
MarshalBinary implements encoding.BinaryMarshaler.
func (UMID) MarshalMUS ¶
MarshalMUS fills buf with the MUS encoding of v.
func (UMID) MarshalText ¶
func (UMID) String ¶
String returns the string form of uuid, xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx , or "" if uuid is invalid.
func (*UMID) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler.
func (*UMID) UnmarshalMUS ¶
UnmarshalMUS parses the MUS-encoded buf, and sets the result to *v.
func (*UMID) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler.
Click to show internal directories.
Click to hide internal directories.