history

package
v0.0.0-...-097b59e Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2023 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type History

type History struct {
	CurrentDate string
	Start       time.Time
	End         time.Time
	Task        string
}

func NewHistory

func NewHistory(now time.Time, length time.Duration, task string) *History

type TotalHistory

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

func GetInstance

func GetInstance() *TotalHistory

func (*TotalHistory) Add

func (t *TotalHistory) Add(newHistory *History)

func (*TotalHistory) IsBigBreak

func (t *TotalHistory) IsBigBreak() bool

func (*TotalHistory) Save

func (t *TotalHistory) Save()

Jump to

Keyboard shortcuts

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