Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ADR ¶
type ADR struct { Sequence int Title string Context string Decision string Status string Consequences string }
ADR represents an Architectural Decision Record (ADR). It stores details about decisions made during software architecture design.
func (*ADR) BuildDocument ¶
func (adr *ADR) BuildDocument(parsedTemplate *render.ParsedTemplateFile) (*io_document.IODocument, error)
BuildDocument creates an IODocument from the ADR using the provided template. It renders the ADR content into the template and returns a document that can be written to disk. Returns an error if rendering fails or if the template is invalid.
func (*ADR) SequencedTitle ¶
SequencedTitle returns the ADR's title prefixed with its sequence number. This is used for display purposes to distinguish between different ADRs.
Click to show internal directories.
Click to hide internal directories.