uuid

package
v0.0.0-...-8b65fed Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Nil = UUID{}

Functions

This section is empty.

Types

type UUID

type UUID struct {
	fuuid.UUID
}

func FromBytes

func FromBytes(input []byte) (UUID, error)

func FromString

func FromString(text string) (UUID, error)

func MustFromString

func MustFromString(text string) UUID

func New

func New() UUID

func NewFromTime

func NewFromTime(t time.Time) UUID

func NewP

func NewP() *UUID

func (UUID) MarshalGQL

func (u UUID) MarshalGQL(w io.Writer)

MarshalGQL implements the graphql.Marshaler interface

func (UUID) MarshalJSON

func (a UUID) MarshalJSON() ([]byte, error)

func (*UUID) UnmarshalGQL

func (u *UUID) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the graphql.Unmarshaler interface

func (*UUID) UnmarshalJSON

func (a *UUID) UnmarshalJSON(b []byte) error

type UUIDList

type UUIDList = []UUID

Jump to

Keyboard shortcuts

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