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

graphqlparser

package
v1.3.120 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Errors

type Errors []struct {
	Message   string
	Path      []string
	Locations []struct {
		Line   int
		Column int
	}
}

func (Errors) Error

func (e Errors) Error() string

type QueryParser

type QueryParser struct{}

func NewQueryParser

func NewQueryParser() *QueryParser

func (*QueryParser) ParseMutation

func (c *QueryParser) ParseMutation(m interface{}, variables map[string]interface{}) (bytes.Buffer, error)

func (*QueryParser) ParseQuery

func (c *QueryParser) ParseQuery(q interface{}, variables map[string]interface{}) (bytes.Buffer, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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