Documentation ¶
Overview ¶
This uuid package implements UUIDv7¹ with additional convenience methods.
¹ https://www.ietf.org/archive/id/draft-peabody-dispatch-new-uuid-format-04.html#name-uuid-version-7
Index ¶
- Constants
- type ID
- type UUID
- func (uuid UUID) After(other UUID) bool
- func (uuid UUID) Before(other UUID) bool
- func (uuid UUID) Bytes() []byte
- func (uuid UUID) Date() time.Time
- func (uuid UUID) Id() ID
- func (uuid UUID) IsMax() bool
- func (uuid UUID) IsNil() bool
- func (uuid UUID) IsValid() bool
- func (uuid UUID) String() string
- func (uuid UUID) Version() Version
- type UUIDs
- type Version
Constants ¶
View Source
const (
UUIDv7 = Version(7)
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UUID ¶
type UUID [size]byte
Representation of an UUID version 7.
Click to show internal directories.
Click to hide internal directories.