Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TemplateData ¶ added in v0.8.2
type TemplateData struct { // Stores value of the `singular` local flag Singular string // Stores value of the `plural` local flag Plural string // Stores the name of the root module (extracted from go.mod file) ModName string // contains filtered or unexported fields }
TemplateData defines fields that will store all the data used for generating templates
Click to show internal directories.
Click to hide internal directories.