plugin

package
v0.0.0-...-daf4959 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2021 License: MIT Imports: 10 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{}

func (Config) MutateConfig

func (Config) MutateConfig(cfg *config.Config) error

func (Config) Name

func (Config) Name() string

type Plugins

type Plugins []plugin.Plugin

func New

func New() *Plugins

func (Plugins) GenerateCode

func (p Plugins) GenerateCode(cfg *codegen.Data) error

func (Plugins) MutateConfig

func (p Plugins) MutateConfig(cfg *config.Config) error

func (Plugins) Name

func (Plugins) Name() string

type PopBuild

type PopBuild struct {
	*config.Config
}

type PopGen

type PopGen struct {
	Filename string
}

func (PopGen) MutateConfig

func (p PopGen) MutateConfig(cfg *config.Config) error

func (PopGen) Name

func (p PopGen) Name() string

type Scalar

type Scalar struct{}

Scalar impelents a gqlgen plugin that adds implementations for common scalars if the source doesn't define them.

func (Scalar) MutateConfig

func (Scalar) MutateConfig(cfg *config.Config) error

func (Scalar) Name

func (Scalar) Name() string

Jump to

Keyboard shortcuts

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