package
Version:
v0.0.0-...-699415a
Opens a new window with list of versions in this module.
Published: Jul 28, 2022
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Model struct {
Exit bool
Quit bool
}
Model is the Tea state model for this user interface.
NewModel creates a new model with defaults.
Init is the Tea initialization function.
Update is the tea update function which handles incoming messages.
UpdatePaging runs an update against the underlying pagination model as well
as performing some related tasks on this model.
View renders the current UI into a string.
type PostLoader struct {
Posts []*db.Post
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.