scalars

package
v0.14.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBoolScalar

func NewBoolScalar() (r resolvers.Scalar)

func NewFloatScalar

func NewFloatScalar() (r resolvers.Scalar)

func NewIDScalar

func NewIDScalar() (r resolvers.Scalar)

func NewIntScalar

func NewIntScalar() (r resolvers.Scalar)

func NewStringScalar

func NewStringScalar() (r resolvers.Scalar)

Types

type Bool

type Bool bool

func (*Bool) Assess

func (o *Bool) Assess(resolved resolvers.ScalarResolved) (val interface{}, err definitionError.GQLError)

func (*Bool) Set

func (o *Bool) Set(value interface{}) (r interface{}, err definitionError.GQLError)

type Float

type Float float64

func (*Float) Assess

func (o *Float) Assess(resolved resolvers.ScalarResolved) (val interface{}, err definitionError.GQLError)

func (*Float) Set

func (o *Float) Set(value interface{}) (r interface{}, err definitionError.GQLError)

type ID

type ID string

func (*ID) Assess

func (o *ID) Assess(resolved resolvers.ScalarResolved) (val interface{}, err definitionError.GQLError)

func (*ID) Set

func (o *ID) Set(value interface{}) (r interface{}, err definitionError.GQLError)

type Int

type Int int64

func (*Int) Assess

func (o *Int) Assess(resolved resolvers.ScalarResolved) (val interface{}, err definitionError.GQLError)

func (*Int) Set

func (o *Int) Set(value interface{}) (r interface{}, err definitionError.GQLError)

type String

type String string

func (*String) Assess

func (o *String) Assess(resolved resolvers.ScalarResolved) (val interface{}, err definitionError.GQLError)

func (*String) Set

func (o *String) Set(value interface{}) (r interface{}, err definitionError.GQLError)

Jump to

Keyboard shortcuts

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