uuid

package
v0.0.0-...-444ad2e Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UUID

type UUID [16]byte
var Nil UUID

func MustParse

func MustParse(s string) UUID

func New

func New() UUID

func Parse

func Parse(s string) (UUID, error)

func (UUID) MarshalGQL

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

MarshalGQL implements the graphql.Marshaler interface

func (*UUID) Scan

func (id *UUID) Scan(src interface{}) error

func (UUID) String

func (id UUID) String() string

func (*UUID) UnmarshalGQL

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

UnmarshalGQL implements the graphql.Unmarshaler interface

func (UUID) Value

func (id UUID) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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