Documentation
¶
Overview ¶
Package thoughts provides a jot pad like set of functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ThoughtPad ¶
type ThoughtPad struct {
// contains filtered or unexported fields
}
Capture thoughts for later processing into tasks, reminders, habits &c.
func GetThoughtPad ¶ added in v0.2.0
func GetThoughtPad() (*ThoughtPad, error)
GetThoughtPad provides a pointer to the active thought pad
func (*ThoughtPad) Add ¶
func (t *ThoughtPad) Add(text string) error
Add a new thought to the thought pad
func (*ThoughtPad) ClearAll ¶ added in v0.2.0
func (t *ThoughtPad) ClearAll()
ClearAll removes all thoughts from the pad
func (*ThoughtPad) GetAll ¶
func (t *ThoughtPad) GetAll() []Thought
GetAll returns a slice of the captured thoughts
func (*ThoughtPad) Load ¶ added in v0.2.0
func (t *ThoughtPad) Load() error
Load the contents of thought pad from fs
func (*ThoughtPad) Save ¶ added in v0.2.0
func (t *ThoughtPad) Save() error
Save saves the contents of the thought pad to fs
Click to show internal directories.
Click to hide internal directories.