plistuuid

package
v0.0.0-...-3bed8bd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByteUUID

type ByteUUID []byte

func (ByteUUID) Bytes

func (u ByteUUID) Bytes() []byte

func (ByteUUID) IsValid

func (u ByteUUID) IsValid() bool

func (ByteUUID) MarshalJSON

func (u ByteUUID) MarshalJSON() ([]byte, error)

func (ByteUUID) String

func (u ByteUUID) String() string

func (ByteUUID) UUID

func (u ByteUUID) UUID() (casted uuid.UUID)

type UUID

type UUID struct {
	uuid.UUID
}

func New

func New() UUID

func NewFromUUID

func NewFromUUID(id uuid.UUID) UUID

func NewPtrFromUUID

func NewPtrFromUUID(id *uuid.UUID) *UUID

func (UUID) Bytes

func (u UUID) Bytes() []byte

func (UUID) MarshalPlist

func (u UUID) MarshalPlist() (any, error)

func (*UUID) UUIDPtr

func (u *UUID) UUIDPtr() *uuid.UUID

func (*UUID) UnmarshalPlist

func (u *UUID) UnmarshalPlist(unmarshal func(any) error) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL