datatypes

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InsertAndUpdateNulls

func InsertAndUpdateNulls(routes []graphql.Route, datatype string, jsonValue interface{})

func InsertScalarErrors

func InsertScalarErrors(routes []graphql.Route, datatype string, value string)

func MutateAndQueryCollection

func MutateAndQueryCollection(
	routes []graphql.Route,
	fieldName string,
	stringValue string,
	jsonValue []interface{},
	isMap bool,
)

func MutateAndQueryScalar

func MutateAndQueryScalar(
	routes []graphql.Route,
	datatype string,
	value interface{},
	format string,
	convert ConvertFn,
)

func MutateAndQueryStatic

func MutateAndQueryStatic(routes []graphql.Route)

Types

type ConvertFn

type ConvertFn func(value interface{}) interface{}

Jump to

Keyboard shortcuts

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