gen

package
v1.1.0-dev.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package gen renders everything forgeapi publishes about per-product behaviour from the expectation table, and nothing else states those facts.

Two outputs. It replaces the per-forge block of every role method's godoc in roles.go, and it renders SUPPORT.md, the operation-by-product support matrix. TestGeneratedFilesAreCurrent owns both files: go generate runs it with -update to write them, and a plain run fails when either would move, which is the stale-output gate.

A method's block is the span from the "Per forge:" line to the end of that doc comment, and the span is this package's alone: everything above the marker is written by hand and is never touched.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL