Documentation
¶
Index ¶
Constants ¶
View Source
const VersionShTmpl = `` /* 770-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomRenderer ¶
type Scaffold ¶
type Scaffold struct {
CliName string
CliVersion string
// Repo is the project repo name
Repo string
AbsProjectPath string
ProjectName string
// Fs is the filesystem that GetWriter uses to write scaffold files
Fs afero.Fs
// GetWriter returns a writer for writing scaffold files.
GetWriter func(path string, mode os.FileMode) (io.Writer, error)
}
Scaffold writes Templates to scaffold new files
Click to show internal directories.
Click to hide internal directories.