gql

package
v0.0.0-...-4d895cd Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Currency

type Currency struct {
	currency.Code
}

func (Currency) MarshalGQL

func (c Currency) MarshalGQL(w io.Writer)

MarshalGQL implements the graphql.Marshaler interface.

func (*Currency) UnmarshalGQL

func (c *Currency) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the graphql.Unmarshaler interface.

type Date

type Date struct {
	datetime.Date
}

func FromDate

func FromDate(dt datetime.Date) Date

func (Date) MarshalGQL

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

MarshalGQL implements the graphql.Marshaler interface.

func (*Date) UnmarshalGQL

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

UnmarshalGQL implements the graphql.Unmarshaler interface.

type DateTime

type DateTime struct {
	datetime.DateTime
}

func FromDateTime

func FromDateTime(dt datetime.DateTime) DateTime

func (DateTime) MarshalGQL

func (dt DateTime) MarshalGQL(w io.Writer)

MarshalGQL implements the graphql.Marshaler interface.

func (*DateTime) UnmarshalGQL

func (dt *DateTime) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the graphql.Unmarshaler interface.

Jump to

Keyboard shortcuts

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