gqlgen

package
v0.0.0-...-f15f0a0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPlugin

func NewPlugin() plugin.Plugin

NewPlugin ...

Types

type BuildMutateHook

type BuildMutateHook = func(b *ModelBuild) *ModelBuild

BuildMutateHook ...

type Enum

type Enum struct {
	Description string
	Name        string
	Values      []*EnumValue
}

Enum ...

type EnumValue

type EnumValue struct {
	Description string
	Name        string
}

EnumValue ...

type Field

type Field struct {
	Description string
	Name        string
	Type        types.Type
	Tag         string
}

Field ...

type Interface

type Interface struct {
	Description string
	Name        string
}

Interface ...

type ModelBuild

type ModelBuild struct {
	PackageName string
	Interfaces  []*Interface
	Models      []*Object
	Enums       []*Enum
	Scalars     []string
}

ModelBuild ...

type Object

type Object struct {
	Description string
	Name        string
	Fields      []*Field
	Implements  []string
}

Object ...

type Plugin

type Plugin struct {
	MutateHook BuildMutateHook
}

Plugin ...

func (*Plugin) MutateConfig

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

MutateConfig ...

func (*Plugin) Name

func (m *Plugin) Name() string

Name ...

Jump to

Keyboard shortcuts

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