Versions in this module Expand all Collapse all v1 v1.0.0 Jan 17, 2025 Changes in this version + const MetaDataOutputKey + const MetaDataTemplatesKey + const MetaDataValuesKey + type ConfigurationFile struct + func NewConfigurationFile(metadata *Metadata, directories Directories) *ConfigurationFile + func NewTestConfigurationFile() *ConfigurationFile + type Directories []*Directory + type Directory struct + func NewDirectory(name string, files Files, directories Directories) *Directory + type DirectoryStructureCreator interface + CreateDirectoryStructure func(ctx context.Context, output string, directories []string) error + type File struct + func NewFile(name, template string) *File + type FileTemplates map[string]string + type Files []*File + type FilesCreator interface + CreateFiles func(ctx context.Context, metadata *Metadata, files FileTemplates) error + type Metadata struct + func NewMetadata(metadata map[string]string) *Metadata + func (m *Metadata) GetDestinationPath() string + func (m *Metadata) GetTemplatePath() string + func (m *Metadata) GetValuesPath() string + type ProjectUseCase struct + func NewProjectUseCase(structureCreator DirectoryStructureCreator, fileCreator FilesCreator) *ProjectUseCase + func (useCase *ProjectUseCase) ScaffoldProject(ctx context.Context, configFile *ConfigurationFile) error