scalars

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const GqlDateFormat = "2006-01-02"

Variables

This section is empty.

Functions

func MarshalUUIDScalar

func MarshalUUIDScalar(id *uuid.UUID) graphql.Marshaler

func UnmarshalUUIDScalar

func UnmarshalUUIDScalar(v interface{}) (*uuid.UUID, error)

Types

type GqlDate added in v0.0.11

type GqlDate time.Time

func (GqlDate) MarshalGQL added in v0.0.11

func (d GqlDate) MarshalGQL(w io.Writer)

func (GqlDate) String added in v0.0.11

func (d GqlDate) String() string

func (GqlDate) Time added in v0.0.11

func (d GqlDate) Time() time.Time

func (*GqlDate) UnmarshalGQL added in v0.0.11

func (d *GqlDate) UnmarshalGQL(v interface{}) error

Jump to

Keyboard shortcuts

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