config

package
v0.0.0-...-f6b5fec Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	SchemaFilename string `yaml:"schema"`
	QueriesFolder  string `yaml:"queries_folder"`
	Output         struct {
		Folder  string `yaml:"folder"`
		Package string `yaml:"package"`
	} `yaml:"output"`
	Scalars        map[string]string `yaml:"scalars"`
	GenerateClient bool              `yaml:"generate_client"`
}

func LoadConfig

func LoadConfig() (*Config, error)

Jump to

Keyboard shortcuts

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