model

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	INTERFACE_TYPE = []byte(`//此為自動產生的 Interface,建議不要進行更動
type {{name}}Interface interface {{{abstruct_method}}}
`)
	INTERFACE_ABSTRUCT_METHOD = []byte(`	{{verb}}{{name}}({{param}}) {{type}}`)
	INTERFACE_NEW             = []byte(`//此為自動產生的方法,建議不要更動
func New{{struct}}() {{struct}}Interface {
	return &{{struct}}{}
}
`)
	INTERFACE_METHOD = []byte(`//此為自動產生的方法,建議不要更動
func (g *{{struct}}) {{verb}}{{name}}({{param}}) {{type}} {
    {{action}}
    {{return}}
}
`)
	SUBSTITUTION = []byte(`
`)
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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