Documentation ¶ Index ¶ func NewProgram(model Model) *tea.Program type Model func NewUIModel(commitMsg, prompt, apiKey, commitType, tmpl string) Model func (m Model) Init() tea.Cmd func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) func (m Model) View() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewProgram ¶ func NewProgram(model Model) *tea.Program Types ¶ type Model ¶ type Model struct { // contains filtered or unexported fields } func NewUIModel ¶ func NewUIModel(commitMsg, prompt, apiKey, commitType, tmpl string) Model func (Model) Init ¶ func (m Model) Init() tea.Cmd func (Model) Update ¶ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) func (Model) View ¶ func (m Model) View() string Source Files ¶ View all Source files ui.go Directories ¶ Show internal Expand all Path Synopsis splitter Click to show internal directories. Click to hide internal directories.