Documentation
¶
Index ¶
- func SetupListOfBreakingChanges() list.Model
- func SetupListOfScopes() list.Model
- func SetupListOfTypes(typeNameOptions []model.CommitType) list.Model
- type LItem
- type LItemDelegate
- type PromptCommit
- func (p PromptCommit) Init() tea.Cmd
- func (p PromptCommit) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (p PromptCommit) UpdateBreakingChange(msg tea.Msg) (tea.Model, tea.Cmd)
- func (p PromptCommit) UpdateDescription(msg tea.Msg) (tea.Model, tea.Cmd)
- func (p PromptCommit) UpdateScope(msg tea.Msg) (tea.Model, tea.Cmd)
- func (p PromptCommit) UpdateType(msg tea.Msg) (tea.Model, tea.Cmd)
- func (p PromptCommit) View() string
- func (p PromptCommit) ViewBreakingChange() string
- func (p PromptCommit) ViewDescription() string
- func (p PromptCommit) ViewScope() string
- func (p PromptCommit) ViewType() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupListOfScopes ¶
func SetupListOfTypes ¶
func SetupListOfTypes(typeNameOptions []model.CommitType) list.Model
Types ¶
type LItemDelegate ¶
type LItemDelegate struct{}
func (LItemDelegate) Height ¶
func (d LItemDelegate) Height() int
func (LItemDelegate) Spacing ¶
func (d LItemDelegate) Spacing() int
type PromptCommit ¶
type PromptCommit struct {
// contains filtered or unexported fields
}
func NewPromptCommit ¶
func NewPromptCommit(typeNameOptions []model.CommitType, cmt *model.Commit) *PromptCommit
func (PromptCommit) Init ¶
func (p PromptCommit) Init() tea.Cmd
func (PromptCommit) UpdateBreakingChange ¶
func (PromptCommit) UpdateDescription ¶
func (PromptCommit) UpdateScope ¶
func (PromptCommit) UpdateType ¶
func (PromptCommit) View ¶
func (p PromptCommit) View() string
func (PromptCommit) ViewBreakingChange ¶
func (p PromptCommit) ViewBreakingChange() string
func (PromptCommit) ViewDescription ¶
func (p PromptCommit) ViewDescription() string
func (PromptCommit) ViewScope ¶
func (p PromptCommit) ViewScope() string
func (PromptCommit) ViewType ¶
func (p PromptCommit) ViewType() string
Click to show internal directories.
Click to hide internal directories.