Documentation ¶
Overview ¶
Package guid implements YT flavor of uuid-s.
Unfortunately YT uses non standard text representation. Because of this we can't use gofrs/uuid directly.
Index ¶
- type GUID
- func (g GUID) Halves() (a, b uint64)
- func (g GUID) HexString() string
- func (g GUID) MarshalText() ([]byte, error)
- func (g GUID) MarshalYSON(w *yson.Writer) error
- func (g GUID) Parts() (a, b, c, d uint32)
- func (g GUID) String() string
- func (g *GUID) UnmarshalText(data []byte) (err error)
- func (g *GUID) UnmarshalYSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GUID ¶
GUID is 16-byte value.
func FromHalves ¶
func ParseString ¶
func (GUID) MarshalText ¶
func (*GUID) UnmarshalText ¶
func (*GUID) UnmarshalYSON ¶
Click to show internal directories.
Click to hide internal directories.