model

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: May 6, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	INTERFACE_TYPE = []byte(`//此為自動產生的 Interface,建議不要進行更動
type {{ .module }}Interface interface {{{ .interface.method }}}
`)
	INTERFACE_ABSTRUCT_METHOD = []byte(`	{{ .method.verb }}{{ .module }}({{ .method.param }}) {{ .method.return.type }}`)
	INTERFACE_NEW             = []byte(`//此為自動產生的方法,建議不要更動
func New{{ .struct }}() {{ .struct }}Interface {
	return &{{ .struct }}{}
}
`)
	INTERFACE_METHOD = []byte(`//此為自動產生的方法,建議不要更動
func (g *{{ .struct }}) {{ .method.verb }}{{ .module }}({{ .method.param }}) {{ .method.return.type }} {
    {{ .method.action }}
    {{ .method.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