Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractProjectName ¶
ExtractProjectName extracts the project name from a module path
func ValidateModule ¶
ValidateModule validates that the module path is a proper Go module format
func ValidateProjectName ¶
ValidateProjectName validates that the project name follows slug-case format
Types ¶
type Service ¶
type Service interface {
// ShowSpinner displays a spinner with a message and returns a stop function
ShowSpinner(message string) func(completedMessage string)
// PromptForModule interactively prompts for a Go module path
PromptForModule() (string, error)
}
Service handles user interface operations like spinners and prompts
func ProvideUIService ¶
func ProvideUIService() Service
ProvideUIService creates a new UI service @Provider
Click to show internal directories.
Click to hide internal directories.