Documentation
¶
Index ¶
- func StructureBoolean() (Structure, *Boolean)
- func StructureGaps() (Structure, *Gaps)
- func StructureGoal() (Structure, *Goal)
- func StructureGuidelines() (Structure, *Guidelines)
- func StructurePlan() (Structure, *Plan)
- func StructureTODO() (Structure, *TODOList)
- type Boolean
- type Gaps
- type Goal
- type Guidelines
- type Plan
- type Structure
- type TODO
- type TODOList
- func (tl *TODOList) AddFeedback(id, feedback string)
- func (tl *TODOList) FromJSON(data []byte) error
- func (tl *TODOList) FromMarkdown(markdown string) error
- func (tl *TODOList) GetCompletedTODOs() []TODO
- func (tl *TODOList) GetIncompleteTODOs() []TODO
- func (tl *TODOList) MarkComplete(id string)
- func (tl *TODOList) ToJSON() ([]byte, error)
- func (tl *TODOList) ToMarkdown() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StructureBoolean ¶
func StructureGaps ¶
func StructureGoal ¶
func StructureGuidelines ¶
func StructureGuidelines() (Structure, *Guidelines)
func StructurePlan ¶
func StructureTODO ¶ added in v0.8.0
Types ¶
type Guidelines ¶
type Guidelines struct {
Guidelines []int `json:"guidelines"`
}
type Structure ¶
type Structure struct {
Schema jsonschema.Definition
Object any
}
type TODOList ¶ added in v0.8.0
type TODOList struct {
TODOs []TODO `json:"todos"`
Markdown string `json:"markdown"`
LastUpdated time.Time `json:"last_updated"`
}
func (*TODOList) AddFeedback ¶ added in v0.8.0
AddFeedback adds feedback to a TODO by ID
func (*TODOList) FromMarkdown ¶ added in v0.8.0
FromMarkdown parses markdown checkboxes into TODO list
func (*TODOList) GetCompletedTODOs ¶ added in v0.8.0
GetCompletedTODOs returns all completed TODOs
func (*TODOList) GetIncompleteTODOs ¶ added in v0.8.0
GetIncompleteTODOs returns all incomplete TODOs
func (*TODOList) MarkComplete ¶ added in v0.8.0
MarkComplete marks a TODO as completed by ID
func (*TODOList) ToMarkdown ¶ added in v0.8.0
ToMarkdown generates markdown representation with checkboxes
Click to show internal directories.
Click to hide internal directories.