Documentation
¶
Overview ¶
Package projectgen renders starter project scaffolds from embedded templates.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Name string
Description string
GitLocation string
ProjectDirPrefix string
RootPath string
InPlace bool
}
Config defines the inputs used to generate a new project scaffold.
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator renders embedded project templates and runs post-generation steps.
func (*Generator) AddPostStep ¶
AddPostStep appends a post-generation step to be run after rendering completes.
Click to show internal directories.
Click to hide internal directories.