Documentation
¶
Overview ¶
Package scratch is the Scratch module: quick notes, to-dos, ideas and follow-ups as small items, kept in the module's own store and, with caster_sync on, in Caster as Basalisk keeps them (caster://scratch/<id>, sync.go).
It is also the smallest complete example of a Surface module: a view, a command, agent tools, a local store, live settings and a context slot, on the module contract alone.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Item ¶
type Item struct {
ID string `json:"id"`
Text string `json:"text"`
// Kind is note, todo, idea or followup.
Kind string `json:"kind"`
Done bool `json:"done"`
Tags string `json:"tags,omitempty"`
Created string `json:"created"`
Updated string `json:"updated"`
// CasterRef is where the item is kept in Caster once written there (sync.go).
CasterRef string `json:"caster_ref,omitempty"`
}
Item is one thing jotted down.