Documentation
¶
Overview ¶
Package timing reads when things fall (TAXONOMY.md D47, D48): a timing in its four forms, a target in its shapes, and a project's milestones as a chain of what waits on what. It is pure: the current month is the only thing it asks of the world.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Chain ¶
Chain resolves a project's milestones (TAXONOMY.md D48): which waits on which (an after or set-when on another milestone of the project, or a waitsOn line), any loop, and the longest chain by the order of their months.
func Milestones ¶
Milestones reads a project's milestones as a chain.
type Target ¶
type Target struct {
Value float64
HasValue bool
// Month is the month it is due by, or for one set when an event
// happens the month that is expected by; empty for one that follows
// an event with no date of its own.
Month string
// Pending is a target set when an event happens.
Pending bool
Timing Timing
// Set is a target defined in any form; Dated is one that says when.
Set, Dated bool
}
Target is a target in any of its shapes (TAXONOMY.md D47).
type Timing ¶
type Timing struct {
Form string
// Month is the latest month it can fall in, where it says one: the
// date, a window's end (else its start), or the month a set-when is
// expected by. Empty for after an event with no date of its own.
Month string
// Event is the event an after or a set-when waits on.
Event map[string]any
// Late is a set-when whose expected month has passed.
Late bool
// Complete is a timing that says everything its form needs.
Complete bool
}
Timing is a timing read for the checks (TAXONOMY.md D47).
Click to show internal directories.
Click to hide internal directories.