Documentation
¶
Overview ¶
Package ui handles everything ui related in mkgo
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func SummaryFromArguments ¶
func SummaryFromArguments(opts SummaryOptions) string
Types ¶
type Field ¶
type Field interface {
Hidable
// contains filtered or unexported methods
}
Field is the minimal interface for a UI form field. It covers only the methods that the model needs at runtime (rendering, focus management, event handling, and visibility). Builder/configuration methods live on the concrete types instead.
type Form ¶
type Form interface {
Summary() string
LineCount() int
GetModule() string
GetPath() string
GetTemplate() string
GetGitRepo() string
GetCreateMakefile() bool
GetInitGit() bool
}
Form is the interface for interactive forms, providing summary and line count access.
func CreateForm ¶
Click to show internal directories.
Click to hide internal directories.