dailies

package
v0.0.0-...-e48d3ff Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Content

type Content struct {
	RecurringTasks []task.Task
	AssignedTasks  []task.Task
	// contains filtered or unexported fields
}

func (Content) FormattedDate

func (c Content) FormattedDate() string

func (Content) Weekday

func (c Content) Weekday() string

type Note

type Note struct {
	// contains filtered or unexported fields
}

func NewNote

func NewNote() *Note

func (*Note) Filepath

func (n *Note) Filepath() string

func (*Note) Render

func (n *Note) Render() (string, error)

func (*Note) WithAssignedTasks

func (n *Note) WithAssignedTasks(tasks []task.Task) *Note

func (*Note) WithDate

func (n *Note) WithDate(t time.Time) *Note

func (*Note) WithDateFormat

func (n *Note) WithDateFormat(format string) *Note

func (*Note) WithRecurringTasks

func (n *Note) WithRecurringTasks(tasks []task.Task) *Note

func (*Note) WithTemplate

func (n *Note) WithTemplate(tpl string) *Note

Jump to

Keyboard shortcuts

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