Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNameEmpty = errors.New(`please provide the name using "-name" option`) ErrInvalidType = errors.New("invalid create type") ErrNoProjectName = errors.New("cannot determine project name, ensure go.mod exists") ErrCreateFile = errors.New("failed to create file") ErrExecuteTemplate = errors.New("failed to execute template") )
Functions ¶
func GetTemplate ¶
GetTemplate returns the template content for the given type.
func Repository ¶
Repository creates a new repository file.
Types ¶
Click to show internal directories.
Click to hide internal directories.