out

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type EnumWithDescription

type EnumWithDescription string

EnumWithDescription is an enum with a description

const (
	EnumWithDescriptionCat EnumWithDescription = "CAT"
	EnumWithDescriptionDog EnumWithDescription = "DOG"
)

func (EnumWithDescription) IsValid

func (e EnumWithDescription) IsValid() bool

func (EnumWithDescription) MarshalGQL

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

func (EnumWithDescription) String

func (e EnumWithDescription) String() string

func (*EnumWithDescription) UnmarshalGQL

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

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 *MissingTypeNullable `json:"existing"`
}

type ExistingUnion

type ExistingUnion interface {
	IsExistingUnion()
}

type InterfaceWithDescription

type InterfaceWithDescription interface {
	IsInterfaceWithDescription()
}

InterfaceWithDescription is an interface with a description

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 MissingTypeNotNull

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

func (MissingTypeNotNull) IsExistingInterface

func (MissingTypeNotNull) IsExistingInterface()

func (MissingTypeNotNull) IsExistingUnion

func (MissingTypeNotNull) IsExistingUnion()

func (MissingTypeNotNull) IsMissingInterface

func (MissingTypeNotNull) IsMissingInterface()

func (MissingTypeNotNull) IsMissingUnion

func (MissingTypeNotNull) IsMissingUnion()

type MissingTypeNullable

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

func (MissingTypeNullable) IsExistingInterface

func (MissingTypeNullable) IsExistingInterface()

func (MissingTypeNullable) IsExistingUnion

func (MissingTypeNullable) IsExistingUnion()

func (MissingTypeNullable) IsMissingInterface

func (MissingTypeNullable) IsMissingInterface()

func (MissingTypeNullable) IsMissingUnion

func (MissingTypeNullable) IsMissingUnion()

type MissingUnion

type MissingUnion interface {
	IsMissingUnion()
}

type TypeWithDescription

type TypeWithDescription struct {
	Name *string `json:"name"`
}

TypeWithDescription is a type with a description

func (TypeWithDescription) IsUnionWithDescription

func (TypeWithDescription) IsUnionWithDescription()

type UnionWithDescription

type UnionWithDescription interface {
	IsUnionWithDescription()
}

UnionWithDescription is an union with a description

Jump to

Keyboard shortcuts

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