daylog

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DayLog

type DayLog struct {
	// the complete path to the log file
	Path string

	// the path to the project directory
	ProjectPath string

	// the date of the log
	Date *time.Time
}

func New

func New(args []string, project string) (*DayLog, error)

func (*DayLog) Edit

func (d *DayLog) Edit() error

edit the log for the specified date

func (*DayLog) Show

func (d *DayLog) Show(format string) (string, error)

Jump to

Keyboard shortcuts

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