scalar

package
v0.0.0-...-64643be Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2022 License: Unlicense Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DateTime

type DateTime time.Time

Maps a DateTime GraphQL scalar to a Go time.Time struct. This scalar adheres to the time.RFC3339 format. https://pkg.go.dev/time#pkg-constants

func (DateTime) MarshalGQL

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

MarshalGQL implements the graphql.Marshaler interface

func (*DateTime) UnmarshalGQL

func (t *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