schema

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadSDL

func LoadSDL(ep *config.Endpoint) (string, error)

Types

type FindResult

type FindResult struct {
	Kind       string // "query", "mutation", "type", "input", "enum", "interface", "union", "scalar"
	Name       string
	Definition string
}

func ParseAndFind

func ParseAndFind(sdl string, keyword string, scope FindScope) ([]FindResult, error)

type FindScope

type FindScope struct {
	Query    bool
	Mutation bool
	Type     bool
	Input    bool
	Enum     bool
}

func (FindScope) IsEmpty

func (s FindScope) IsEmpty() bool

Jump to

Keyboard shortcuts

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