Documentation
¶
Overview ¶
Package okf serializes providers.KBEntry values as OKF markdown files (YAML frontmatter + body). It is the single write-side counterpart of catalog.Load: the GitHub forge and `lore kb import` both render through it, so every entry RunLore writes parses back identically.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Meta ¶
type Meta struct {
Timestamp string // OKF-recommended; RFC3339 or bare date
Status string // lifecycle: "", active, retired, draft
LastValidated string // date a human last confirmed the entry works
}
Meta carries the file-level frontmatter that is not part of a drafted KBEntry: the forge stamps Timestamp at render time; import preserves the source document's own timestamp/status/last_validated instead.
Click to show internal directories.
Click to hide internal directories.