test

package
v0.0.0-...-a34b4de Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeExecutableSchema

func MakeExecutableSchema(resolvers Resolvers) graphql.ExecutableSchema

func UnmarshalDateFilter

func UnmarshalDateFilter(v interface{}) (models.DateFilter, error)

Types

type Element

type Element struct {
	ID int
}

type Resolvers

type Resolvers interface {
	Element_child(ctx context.Context, obj *Element) (Element, error)
	Element_error(ctx context.Context, obj *Element) (bool, error)
	Query_path(ctx context.Context) ([]Element, error)
	Query_date(ctx context.Context, filter models.DateFilter) (bool, error)
	Query_viewer(ctx context.Context) (*Viewer, error)
	Query_jsonEncoding(ctx context.Context) (string, error)
}

type Viewer

type Viewer struct {
	User *remote_api.User
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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