Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FmtDuration ¶
FmtDuration formats a duration into hours,minutes and decimal hours for display
func IsTrackingActive ¶
func IsTrackingActive() bool
IstracktingActive idicates whether tracking is currently active
Types ¶
type Report ¶
type Report struct { Project string Total time.Duration Items []ReportRecord }
Report contains data tracking information for a project
type ReportRecord ¶
ReportRecord contians start/end times for an individual tracking event
type ReportRequest ¶
ReportRequest contains data to retrieve a report
type StartRequest ¶
type StartRequest struct {
Project string
}
StartRequest is a request to start tracking time for a project
Click to show internal directories.
Click to hide internal directories.