zettelkasten

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Note

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

type Today

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

type TodayNote

type TodayNote struct {
	CurrentDate string
	DayBefore   string
	DayAfter    string
}

type TodayTemplater

type TodayTemplater interface {
	Note() []byte
}

type ZettelNote

type ZettelNote struct {
	Title       string
	Content     string
	CurrentDate string
	Type        string
}

type ZettelNoteTemplater

type ZettelNoteTemplater interface {
	Note() []byte
}

type Zettelkasten

type Zettelkasten struct {
	Exit       bool
	ZettelNote *ZettelNote
	TodayNote  *TodayNote
}

func (*Zettelkasten) CreateConsumeNote

func (p *Zettelkasten) CreateConsumeNote() error

func (*Zettelkasten) CreateRefineNote

func (p *Zettelkasten) CreateRefineNote() error

func (*Zettelkasten) CreateTodayNote

func (p *Zettelkasten) CreateTodayNote()

func (*Zettelkasten) ExitCLI

func (p *Zettelkasten) ExitCLI(tprogram *tea.Program)

ExitCLI checks if the Note has been created, and closes out of the CLI if it has

Jump to

Keyboard shortcuts

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