Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuilderHandler ¶
type BuilderHandler struct {
// contains filtered or unexported fields
}
BuilderHandler manages the building process of the project structure. It interacts with the domain.Builder to create directories and files based on templates.
func NewBuilderHandler ¶
func NewBuilderHandler(builder *domain.Builder) *BuilderHandler
NewBuilderHandler creates and returns a new BuilderHandler instance.
Parameters:
- builder: A pointer to the domain.Builder instance.
Returns:
A pointer to a BuilderHandler.
func (*BuilderHandler) Build ¶
func (h *BuilderHandler) Build() error
Build initiates the building process by applying templates and creating directories and files as defined in the Builder's data.
Returns:
An error if the build process fails, otherwise nil.
Click to show internal directories.
Click to hide internal directories.