template

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client(names []string) string

func Collection

func Collection(id, coll string, funcs []*ast.Function) string

func Function

func Function(coll string, fc *ast.Function) string
func Header(name string) string

func Import

func Import() string

func Input

func Input(coll, name string, params []*ast.Field) string

func Model

func Model(models []*polygen.Model) string

func StreamClient

func StreamClient(qw422016 *qt422016.Writer, names []string)

func StreamCollection

func StreamCollection(qw422016 *qt422016.Writer, id, coll string, funcs []*ast.Function)

func StreamFunction

func StreamFunction(qw422016 *qt422016.Writer, coll string, fc *ast.Function)

func StreamHeader

func StreamHeader(qw422016 *qt422016.Writer, name string)

func StreamImport

func StreamImport(qw422016 *qt422016.Writer)

func StreamInput

func StreamInput(qw422016 *qt422016.Writer, coll, name string, params []*ast.Field)

func StreamModel

func StreamModel(qw422016 *qt422016.Writer, models []*polygen.Model)

func WriteClient

func WriteClient(qq422016 qtio422016.Writer, names []string)

func WriteCollection

func WriteCollection(qq422016 qtio422016.Writer, id, coll string, funcs []*ast.Function)

func WriteFunction

func WriteFunction(qq422016 qtio422016.Writer, coll string, fc *ast.Function)

func WriteHeader

func WriteHeader(qq422016 qtio422016.Writer, name string)

func WriteImport

func WriteImport(qq422016 qtio422016.Writer)

func WriteInput

func WriteInput(qq422016 qtio422016.Writer, coll, name string, params []*ast.Field)

func WriteModel

func WriteModel(qq422016 qtio422016.Writer, models []*polygen.Model)

Types

This section is empty.

Jump to

Keyboard shortcuts

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