Discover Packages
go.auvem.com/corestack
internal
docs
package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Oct 28, 2026
License: BSD-3-Clause
Opens a new window with license information.
Imports: 20
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package docs creates and checks the ADR and plan records described in docs/docs-format.md.
New creates a record of the given kind ("adr" or "plan") under root and
returns its root-relative slash path. The file is created exclusively; the
timestamp advances by 1 ms on a collision.
Problem is one violation of the format. Line is 1 for file-level problems.
type Result struct {
Records int
Problems []Problem
}
Result is the outcome of Check: the number of records read and the sorted problems.
Check validates every record under root. The error is for I/O failures only.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.