Documentation
¶
Index ¶
Constants ¶
This section is empty.
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.