graphql

package
v0.0.0-...-4560c35 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IfQuery

func IfQuery(url, query string, args Args, f func(q Result) interface{}) interface{}

Types

type Args

type Args map[string]interface{}

type Result

type Result reflect.Value

func DoQuery

func DoQuery(url, query string, args Args) (r Result, err error)

func (Result) Chan

func (q Result) Chan() chan Result

func (Result) Fill

func (q Result) Fill(a interface{})

func (Result) Float32

func (q Result) Float32(a interface{}) float32

func (Result) Float64

func (q Result) Float64(a interface{}) float64

func (Result) Int

func (q Result) Int(a interface{}) int

func (Result) List

func (q Result) List() []Result

func (Result) Q

func (q Result) Q(a interface{}) Result

func (Result) String

func (q Result) String(a interface{}) string

func (Result) Time

func (q Result) Time(a interface{}) time.Time

func (Result) V

func (q Result) V(a interface{}) (r reflect.Value)

Jump to

Keyboard shortcuts

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