timelog

package
v0.0.0-...-0475154 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLogType

func AddLogType(f fyne.App)

func ShowAllTimeEntries

func ShowAllTimeEntries(f fyne.App, l Log)

Types

type Entry

type Entry struct {
	Id          int       `json:"id"`
	Start       time.Time `json:"start"`
	End         time.Time `json:"end"`
	Title       string    `json:"title"`
	Description string    `json:"desc"`
}

type Log

type Log struct {
	Id      int     `json:"id"`
	Title   string  `json:"title"`
	Entries []Entry `json:"entries"`
}

func (Log) Print

func (l Log) Print()

func (Log) Save

func (l Log) Save(path string) error

Jump to

Keyboard shortcuts

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