Documentation ¶
Index ¶
- Constants
- func CreateDoc(rootGroup string)
- func CreateProject()
- type Model
- type Project
- func (t Project) ApiHandlerList() []*handler
- func (t Project) ApiHandlerString(ctnFn func(*handler) string) string
- func (p *Project) Generator()
- func (t Project) HandlerList() []*handler
- func (t Project) Parse() *tplInfo
- func (t Project) RouterString(groupName string) string
- func (t Project) TypeImportString() string
- func (t Project) TypesString() string
Constants ¶
View Source
const (
// API_TPL_ROUTER name of the interface used to register the pull route in the template
API_TPL_ROUTER = "__API_TPL__"
)
View Source
const MalatdGenLock = "__malatd__gen__.lock"
MalatdGenLock the file is used to markup generated project
View Source
const MalatdTpl = "__malatd__tpl__.go"
MalatdTpl template file name
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Model ¶
type Project ¶
Project project Information
func (Project) ApiHandlerList ¶
func (t Project) ApiHandlerList() []*handler
func (Project) ApiHandlerString ¶
func (Project) HandlerList ¶
func (t Project) HandlerList() []*handler
func (Project) RouterString ¶
func (Project) TypeImportString ¶
func (t Project) TypeImportString() string
func (Project) TypesString ¶
func (t Project) TypesString() string
Directories ¶
Path | Synopsis |
---|---|
Package main generated by go-bindata.
|
Package main generated by go-bindata. |
Click to show internal directories.
Click to hide internal directories.