Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Generator ¶
type MultiFileGenerator ¶
type MultiFileGenerator struct {
// contains filtered or unexported fields
}
func NewMultiFileGenerator ¶
func NewMultiFileGenerator(name string, files embed.FS, printNextSteps string) MultiFileGenerator
func (MultiFileGenerator) Generate ¶
func (m MultiFileGenerator) Generate(projectPath, modName string) error
func (MultiFileGenerator) Name ¶
func (m MultiFileGenerator) Name() string
func (MultiFileGenerator) PrintNextSteps ¶
func (m MultiFileGenerator) PrintNextSteps()
type SingleFileGenerator ¶
type SingleFileGenerator struct {
// contains filtered or unexported fields
}
func NewSingleFileGenerator ¶
func NewSingleFileGenerator(name, content, printNextSteps string) SingleFileGenerator
func (SingleFileGenerator) Generate ¶
func (s SingleFileGenerator) Generate(projectPath, modName string) error
func (SingleFileGenerator) Name ¶
func (s SingleFileGenerator) Name() string
func (SingleFileGenerator) PrintNextSteps ¶
func (s SingleFileGenerator) PrintNextSteps()
Click to show internal directories.
Click to hide internal directories.