gqltypes

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: GPL-3.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnumTmpl

func EnumTmpl(types generate.RenderTypes)

func EtcFilestmpl added in v0.12.0

func EtcFilestmpl(types generate.RenderTypes)

func LibConfigtmpl added in v0.12.0

func LibConfigtmpl(types generate.RenderTypes)

func Maintmpl

func Maintmpl(types generate.RenderTypes)

func ModelTmpl

func ModelTmpl(types generate.RenderTypes)

func NewEnum

func NewEnum(render generate.GqlGenerate, key string, value *ast.Definition) generate.EnumDef

func NewModel

func NewModel(render generate.GqlGenerate, key string, value *ast.Definition, types map[string]*ast.Definition, driverDB DriverDB) generate.ModelDef

func NewObjectType

func NewObjectType(render generate.GqlGenerate, value generate.ModelDef, schema *ast.Schema) (oType generate.ObjectTypeDef)

func NewScalar

func NewScalar(render generate.GqlGenerate, key string, value *ast.Definition) (scalarDef *generate.ScalarDef)

func NewUnion

func NewUnion(key string, value *ast.Definition) generate.UnionAttrDef

func ObjectTypeTmpl

func ObjectTypeTmpl(types generate.RenderTypes)

func ScalarTmpl

func ScalarTmpl(types generate.RenderTypes)

func UnionTmpl

func UnionTmpl(types generate.RenderTypes)

Types

type DriverDB added in v0.12.0

type DriverDB int
const (
	DRIVERDB_NONE DriverDB = iota
	DRIVERDB_MONGO
)

Jump to

Keyboard shortcuts

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