minicli

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewModel

func NewModel(dataMgr DataManager) *model

Types

type Data

type Data struct {
	EndTime  time.Time
	Duration int
	Color    string
}

type DataManager

type DataManager interface {
	Alarm()

	Get() *Data
	Create() *Data
	GiveUp() *Data
	Submit(color string) *Data
	Close() *Data
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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