gql

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(input string) (gq *GraphQuery, mu *Mutation, rerr error)

Types

type GraphQuery

type GraphQuery struct {
	UID      uint64
	XID      string
	Attr     string
	First    int
	Children []*GraphQuery
}

GraphQuery stores the parsed Query in a tree format. This gets converted to internally used query.SubGraph before processing the query.

type Mutation

type Mutation struct {
	Set string
	Del string
}

Jump to

Keyboard shortcuts

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