Documentation
¶
Index ¶
- Constants
- Variables
- func GenerateData(db *sql.DB, numDays, numTasks uint8) error
- func RenderReport(db *sql.DB, writer io.Writer, plain bool, period string, agg bool, ...) error
- func RenderStats(db *sql.DB, writer io.Writer, plain bool, period string, interactive bool) error
- func RenderTaskLog(db *sql.DB, writer io.Writer, plain bool, period string, interactive bool) error
- func RenderUI(db *sql.DB) error
- func ShowActiveTask(db *sql.DB, writer io.Writer, template string) error
- type Model
Constants ¶
View Source
const ( ActiveTaskPlaceholder = "{{task}}" ActiveTaskTimePlaceholder = "{{time}}" )
Variables ¶
View Source
var ( WarningStyle = lipgloss.NewStyle(). Foreground(lipgloss.Color(warningColor)) )
Functions ¶
func RenderReport ¶
func RenderStats ¶
func RenderTaskLog ¶
Types ¶
type Model ¶ added in v0.4.0
type Model struct {
// contains filtered or unexported fields
}
func InitialModel ¶
Click to show internal directories.
Click to hide internal directories.