Help us shape the future of Go! Take the 2026 Go Developer Survey

test

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ctx

type Ctx struct {
	// contains filtered or unexported fields
}

func CreateContext

func CreateContext(t *testing.T, projectName string, resolvers graphql.ExecutableSchema, defaultServices []*service.Definition, mockServices ...*service.Definition) *Ctx

func (*Ctx) HandleMutation

func (ctx *Ctx) HandleMutation(mutation interface{}, variables map[string]interface{}) *graphqlParser.Errors

func (*Ctx) HandleQuery

func (ctx *Ctx) HandleQuery(query interface{}, variables map[string]interface{}) *graphqlParser.Errors

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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