timer

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2025 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPromptStatus

func GetPromptStatus() (string, error)

func GetRawMinutesStatus

func GetRawMinutesStatus() (string, error)

func GetRawStatus

func GetRawStatus() (string, error)

func GetStateFile

func GetStateFile() (string, error)

func GetStatus

func GetStatus() (string, error)

func ResetTimer

func ResetTimer() (string, error)

func StartTimer

func StartTimer() (string, error)

func StopTimer

func StopTimer() (string, error)

func TrackTime

func TrackTime(description string) (string, error)

Types

type State

type State struct {
	StartTime   time.Time
	ElapsedTime time.Duration
	Running     bool
}

func LoadState

func LoadState() (State, error)

func (*State) Save

func (s *State) Save() error

Jump to

Keyboard shortcuts

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