graphql

package
v1.8.5 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Export

func Export(model *sadl.Model, conf *sadl.Data) error

func FromSadl

func FromSadl(model *sadl.Model, conf *sadl.Data) (string, error)

func Import

func Import(paths []string, conf *sadl.Data) (*sadl.Model, error)

func IsValidFile

func IsValidFile(path string) bool

Types

type GraphqlWriter

type GraphqlWriter struct {
	// contains filtered or unexported fields
}

func (*GraphqlWriter) Begin

func (w *GraphqlWriter) Begin()

func (*GraphqlWriter) Emit

func (w *GraphqlWriter) Emit(format string, args ...interface{})

func (*GraphqlWriter) EmitEnumDef

func (w *GraphqlWriter) EmitEnumDef(td *sadl.TypeDef) error

func (*GraphqlWriter) EmitStructDef

func (w *GraphqlWriter) EmitStructDef(td *sadl.TypeDef) error

func (*GraphqlWriter) EmitUnionDef

func (w *GraphqlWriter) EmitUnionDef(td *sadl.TypeDef) error

func (*GraphqlWriter) End

func (w *GraphqlWriter) End() string

Jump to

Keyboard shortcuts

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