Documentation
¶
Index ¶
Constants ¶
View Source
const FormatURL = "https://specscore.md/decision-specification"
FormatURL is the canonical spec URL for the Decision document type, emitted in both the frontmatter `format:` field and the adherence-footer line.
Variables ¶
This section is empty.
Functions ¶
func AllNumbers ¶
AllNumbers returns all decision numbers found in spec/decisions/ and archived/, sorted ascending.
func NextNumber ¶
NextNumber scans spec/decisions/ and spec/decisions/archived/ for the highest NNNN prefix and returns max + 1. Returns 1 if no decisions exist.
func Scaffold ¶
func Scaffold(opts ScaffoldOptions) ([]byte, error)
Scaffold returns a lint-clean Decision file body.
func ValidateSlug ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.