solanum

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Build = "2019-02-15_13:58:39UTC"
View Source
const Version = ""

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Type string
	Min  int
	Sec  int
}

type Option

type Option func(s *Solanum)

func OptLongBreak

func OptLongBreak(i int) Option

func OptShortBreak

func OptShortBreak(i int) Option

func OptWork

func OptWork(i int) Option

type Solanum

type Solanum struct {
	Work       int
	ShortBreak int
	LongBreak  int
	Tomatos    int
}

func NewSolanum

func NewSolanum(opts ...Option) *Solanum

func (*Solanum) Display

func (s *Solanum) Display(e *Event)

func (*Solanum) Run

func (s *Solanum) Run()

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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