reporter

package
v1.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reporter

type Reporter struct {
	// contains filtered or unexported fields
}

Reporter handles report generation

func NewReporter

func NewReporter() *Reporter

NewReporter creates a new Reporter instance

func (*Reporter) FormatDuration

func (r *Reporter) FormatDuration(duration time.Duration) string

func (*Reporter) PrintReport

func (r *Reporter) PrintReport(stats map[string]types.DayStats, weekTotal time.Duration)

func (*Reporter) PrintTaskRows

func (r *Reporter) PrintTaskRows(tasks []types.Task)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL