genresolver

package
v0.0.0-...-4c44fda Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	serviceName,
	pkgName string,
	emptys []string,
	scalars map[string]string,
	unions map[string]bool,
	responseUnions map[string]string,
	sdl string,
) plugin.Plugin

Types

type Plugin

type Plugin struct {
	ServiceName    string
	PackageName    string
	Emptys         []string
	Scalars        map[string]string
	Unions         map[string]bool
	ResponseUnions map[string]string
	SDL            string
}

func (*Plugin) GenerateCode

func (m *Plugin) GenerateCode(data *codegen.Data) error

func (*Plugin) Name

func (m *Plugin) Name() string

type ResolverBuild

type ResolverBuild struct {
	*codegen.Data

	PackageName        string
	ResolverType       string
	ServiceName        string
	ServicePackageName string
	SDL                string
	Federated          bool
}

Jump to

Keyboard shortcuts

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