Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TemplateData ¶
type TemplateData struct {
// Stores value of the `CmdPath` local flag. Default Value: "."
CmdPath string
// Stores value of the `CmdName` local flag
CmdName string
// Stores the name of the root module (extracted from go.mod file)
ModName string
}
TemplateData defines fields that will store all the data used for generating templates
Click to show internal directories.
Click to hide internal directories.