loadoperations

package
v0.110.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GqlFile

type GqlFile struct {
	OperationName string `json:"operation_name"`
	FilePath      string `json:"file_path"`
	Content       string `json:"content"`
}

type Loader

type Loader struct {
}

func (*Loader) Load

func (l *Loader) Load(operationsRootPath, fragmentsRootPath, schemaFilePath string) string

type Output

type Output struct {
	Files  []GqlFile `json:"files"`
	Errors []string  `json:"errors"`
	Info   []string  `json:"info"`
}

Jump to

Keyboard shortcuts

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