Documentation ¶
Index ¶
- Constants
- func RunProgram()
- type EditorModel
- type ListItem
- type ListModel
- type MainModel
- type MessageType
- type MessagesModel
- func (mm *MessagesModel) ClearMessage()
- func (mm MessagesModel) Construct() MessagesModel
- func (mm MessagesModel) Init() tea.Cmd
- func (mm *MessagesModel) SetMessage(msgType MessageType, message string)
- func (mm MessagesModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (mm MessagesModel) View() string
Constants ¶
View Source
const ( MessageInfo = iota MessageOK = iota MessageErr = iota )
Variables ¶
This section is empty.
Functions ¶
func RunProgram ¶
func RunProgram()
Types ¶
type EditorModel ¶
type EditorModel struct {
// contains filtered or unexported fields
}
func (EditorModel) Construct ¶
func (em EditorModel) Construct() EditorModel
func (EditorModel) Init ¶
func (em EditorModel) Init() tea.Cmd
func (EditorModel) View ¶
func (em EditorModel) View() string
type ListItem ¶
type ListItem struct {
// contains filtered or unexported fields
}
func (ListItem) Description ¶
func (ListItem) FilterValue ¶
type MainModel ¶
type MainModel struct {
// contains filtered or unexported fields
}
type MessageType ¶
type MessageType uint
type MessagesModel ¶
func (*MessagesModel) ClearMessage ¶
func (mm *MessagesModel) ClearMessage()
func (MessagesModel) Construct ¶
func (mm MessagesModel) Construct() MessagesModel
func (MessagesModel) Init ¶
func (mm MessagesModel) Init() tea.Cmd
func (*MessagesModel) SetMessage ¶
func (mm *MessagesModel) SetMessage(msgType MessageType, message string)
func (MessagesModel) View ¶
func (mm MessagesModel) View() string
Click to show internal directories.
Click to hide internal directories.