out

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2019 License: MIT Imports: 3 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type ExistingEnum

type ExistingEnum string

type ExistingInput

type ExistingInput struct {
	Name string
	Enum ExistingEnum
	Int  ExistingInterface
}

type ExistingInterface

type ExistingInterface interface {
	IsExistingInterface()
}

type ExistingModel

type ExistingModel struct {
	Name string
	Enum ExistingEnum
	Int  ExistingInterface
}

type ExistingType

type ExistingType struct {
	Name     *string           `json:"name"`
	Enum     *ExistingEnum     `json:"enum"`
	Int      ExistingInterface `json:"int"`
	Existing *MissingType      `json:"existing"`
}

func (ExistingType) IsExistingInterface

func (ExistingType) IsExistingInterface()

func (ExistingType) IsExistingUnion

func (ExistingType) IsExistingUnion()

func (ExistingType) IsMissingInterface

func (ExistingType) IsMissingInterface()

func (ExistingType) IsMissingUnion

func (ExistingType) IsMissingUnion()

type ExistingUnion

type ExistingUnion interface {
	IsExistingUnion()
}

type MissingEnum

type MissingEnum string
const (
	MissingEnumHello   MissingEnum = "Hello"
	MissingEnumGoodbye MissingEnum = "Goodbye"
)

func (MissingEnum) IsValid

func (e MissingEnum) IsValid() bool

func (MissingEnum) MarshalGQL

func (e MissingEnum) MarshalGQL(w io.Writer)

func (MissingEnum) String

func (e MissingEnum) String() string

func (*MissingEnum) UnmarshalGQL

func (e *MissingEnum) UnmarshalGQL(v interface{}) error

type MissingInput

type MissingInput struct {
	Name *string      `json:"name"`
	Enum *MissingEnum `json:"enum"`
}

type MissingInterface

type MissingInterface interface {
	IsMissingInterface()
}

type MissingType

type MissingType struct {
	Name     *string          `json:"name"`
	Enum     *MissingEnum     `json:"enum"`
	Int      MissingInterface `json:"int"`
	Existing *ExistingType    `json:"existing"`
}

func (MissingType) IsExistingInterface

func (MissingType) IsExistingInterface()

func (MissingType) IsExistingUnion

func (MissingType) IsExistingUnion()

func (MissingType) IsMissingInterface

func (MissingType) IsMissingInterface()

func (MissingType) IsMissingUnion

func (MissingType) IsMissingUnion()

type MissingUnion

type MissingUnion interface {
	IsMissingUnion()
}

Jump to

Keyboard shortcuts

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