Documentation ¶
Index ¶
- func EnumTmpl(types generate.RenderTypes)
- func EtcFilestmpl(types generate.RenderTypes)
- func LibConfigtmpl(types generate.RenderTypes)
- func Maintmpl(types generate.RenderTypes)
- func ModelTmpl(types generate.RenderTypes)
- func NewEnum(render generate.GqlGenerate, key string, value *ast.Definition) generate.EnumDef
- func NewModel(render generate.GqlGenerate, key string, value *ast.Definition, ...) generate.ModelDef
- func NewObjectType(render generate.GqlGenerate, value generate.ModelDef, schema *ast.Schema) (oType generate.ObjectTypeDef)
- func NewScalar(render generate.GqlGenerate, key string, value *ast.Definition) (scalarDef *generate.ScalarDef)
- func NewUnion(key string, value *ast.Definition) generate.UnionAttrDef
- func ObjectTypeTmpl(types generate.RenderTypes)
- func ScalarTmpl(types generate.RenderTypes)
- func UnionTmpl(types generate.RenderTypes)
- type DriverDB
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 ¶
Click to show internal directories.
Click to hide internal directories.