selected

package
v0.0.0-...-c4d1cd5 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2018 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const ContextKey = "Resolver_Selected_Fields"

Variables

This section is empty.

Functions

This section is empty.

Types

type SelectedField

type SelectedField struct {
	Name     string
	Args     map[string]interface{}
	Selected []SelectedField
}

func GetFieldsFromContext

func GetFieldsFromContext(ctx context.Context) (fields []SelectedField, err error)

type SelectedFields

type SelectedFields func() []SelectedField

Jump to

Keyboard shortcuts

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