schema

package
v0.0.0-...-5afa41d Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	*types.TypeDefs
	Path string
}

Generator implements the graphql schema generator

func NewGenerator

func NewGenerator(path string, d *parser.Definition, td *types.TypeDefs) *Generator

NewGenerator returns an instance of graphql schema generator

func (*Generator) Generate

func (g *Generator) Generate(ctx context.Context) error

Generate generates a graphql schema file based on given template

Jump to

Keyboard shortcuts

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