Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTemplate ¶
NewTemplate creates a new Template for the given template file
Types ¶
type Module ¶
type Module struct { *pgs.ModuleBase // contains filtered or unexported fields }
Module is the code generation module
func (*Module) Execute ¶
func (m *Module) Execute(targets map[string]pgs.File, packages map[string]pgs.Package) []pgs.Artifact
Execute executes the code generator
func (*Module) InitContext ¶
func (m *Module) InitContext(c pgs.BuildContext)
InitContext initializes the module context
Click to show internal directories.
Click to hide internal directories.