Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OutputPath ¶
OutputPath maps a template path to the generated project path.
Types ¶
type Data ¶
type Data struct {
ProjectName string
ModulePath string
PackageName string
HTTPPort int
DatabaseName string
GoVersion string
Author string
}
Data is passed to text/template when rendering scaffold files.
func (Data) GO_VERSION ¶
func (Data) MODULE_NAME ¶
func (Data) PROJECT_NAME ¶
Aliases exposes {{PROJECT_NAME}} style access inside templates.
Click to show internal directories.
Click to hide internal directories.