Documentation ¶
Index ¶
- type UUID
- func FromB58(src []byte) (uuid UUID)
- func FromB58Hlf(src []byte) (uuid UUID)
- func FromB64(src []byte) (uuid UUID)
- func FromB64Hlf(src []byte) (uuid UUID)
- func FromStd(src []byte) (uuid UUID)
- func Parse(s string) (UUID, error)
- func ParseB58(s string) (UUID, error)
- func ParseB58Hlf(s string) (UUID, error)
- func ParseB64(s string) (UUID, error)
- func ParseB64Hlf(s string) (UUID, error)
- func ParseStd(s string) (UUID, error)
- func Random() UUID
- func RandomB58() UUID
- func RandomB58Hlf() UUID
- func RandomB64() UUID
- func RandomB64Hlf() UUID
- func (id UUID) Bytes() []byte
- func (id UUID) Compare(id2 UUID) int
- func (id UUID) HighDigit() uint64
- func (id UUID) IsFull() bool
- func (id UUID) IsValid() bool
- func (id UUID) LowDigit() uint64
- func (id UUID) MarshalBinary() ([]byte, error)
- func (id UUID) MarshalJSON() ([]byte, error)
- func (id UUID) MarshalText() ([]byte, error)
- func (id UUID) String() string
- func (id UUID) String58() string
- func (id UUID) String58Hlf() string
- func (id UUID) String64() string
- func (id UUID) String64Hlf() string
- func (id UUID) StringStd() string
- func (id *UUID) UnmarshalBinary(data []byte) error
- func (id *UUID) UnmarshalJSON(data []byte) error
- func (id *UUID) UnmarshalText(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UUID ¶
type UUID struct {
// contains filtered or unexported fields
}
func FromB58Hlf ¶
func FromB64Hlf ¶
func ParseB58Hlf ¶
func ParseB64Hlf ¶
func RandomB58Hlf ¶
func RandomB58Hlf() UUID
func RandomB64Hlf ¶
func RandomB64Hlf() UUID
func (UUID) MarshalBinary ¶
func (UUID) MarshalJSON ¶
func (UUID) MarshalText ¶
func (UUID) String58Hlf ¶
func (UUID) String64Hlf ¶
func (*UUID) UnmarshalBinary ¶
func (*UUID) UnmarshalJSON ¶
func (*UUID) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.