Documentation
¶
Index ¶
- Constants
- Variables
- func GenerateData(db *sql.DB, numDays, numTasks uint8) error
- func InitialModel(db *sql.DB) model
- func RenderReport(db *sql.DB, writer io.Writer, plain bool, period string, agg bool, ...)
- func RenderStats(db *sql.DB, writer io.Writer, plain bool, period string, interactive bool)
- func RenderTaskLog(db *sql.DB, writer io.Writer, plain bool, period string, interactive bool)
- func RenderUI(db *sql.DB)
- func RightPadTrim(s string, length int, dots bool) string
- func ShowActiveTask(db *sql.DB, writer io.Writer, template string)
- func Trim(s string, length int) string
- type HideHelpMsg
Constants ¶
View Source
const (
ActiveTaskPlaceholder = "{{task}}"
)
Variables ¶
View Source
var ( WarningStyle = lipgloss.NewStyle(). Foreground(lipgloss.Color(warningColor)) )
Functions ¶
func InitialModel ¶
func RenderReport ¶
func RenderStats ¶
func RenderTaskLog ¶
Types ¶
type HideHelpMsg ¶
type HideHelpMsg struct{}
Click to show internal directories.
Click to hide internal directories.