models

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Task

type Task struct {
	ID             int                `json:"id"`
	Description    string             `json:"description"`
	Classification TaskClassification `json:"classification"`
	Start          time.Time          `json:"start"`
	End            time.Time          `json:"end"`
}

type TaskClassification added in v0.2.0

type TaskClassification int
const (
	Break TaskClassification = iota
	Chore
	Toil
	Work
)

func (TaskClassification) String added in v0.2.0

func (tc TaskClassification) String() string

Jump to

Keyboard shortcuts

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