Documentation
¶
Overview ¶
Command goforge is a Polylith-style workspace tool for Go: it scaffolds and inspects a single-module workspace built from reusable bricks (components and bases) composed into deployable projects.
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
change
Package change detects what changed in a workspace since a stable git point, mapping changed files to bricks and projects so that info, diff, and test can work incrementally.
|
Package change detects what changed in a workspace since a stable git point, mapping changed files to bricks and projects so that info, diff, and test can work incrementally. |
|
check
Package check validates a workspace: structural integrity (cycles, brick kinds), the interface boundary, worker-type effect-propagation rules, and project declared-vs-imported consistency.
|
Package check validates a workspace: structural integrity (cycles, brick kinds), the interface boundary, worker-type effect-propagation rules, and project declared-vs-imported consistency. |
|
config
Package config defines the on-disk YAML schemas for a goforge workspace and helpers to read and write them.
|
Package config defines the on-disk YAML schemas for a goforge workspace and helpers to read and write them. |
|
deps
Package deps derives the brick dependency graph by parsing the Go imports of each brick, and provides cycle detection and transitive-closure helpers used by check, info, change, and test.
|
Package deps derives the brick dependency graph by parsing the Go imports of each brick, and provides cycle detection and transitive-closure helpers used by check, info, change, and test. |
|
loader
Package loader scans a goforge workspace on disk and builds the in-memory model.Workspace.
|
Package loader scans a goforge workspace on disk and builds the in-memory model.Workspace. |
|
principles
Package principles loads the worker-type taxonomy (determinism × effectfulness) from the embedded principles.yaml.
|
Package principles loads the worker-type taxonomy (determinism × effectfulness) from the embedded principles.yaml. |
|
render
Package render provides terminal output helpers: optional ANSI color and simple aligned tables.
|
Package render provides terminal output helpers: optional ANSI color and simple aligned tables. |
|
scaffold
Package scaffold renders new workspaces, components, bases, and projects from embedded templates.
|
Package scaffold renders new workspaces, components, bases, and projects from embedded templates. |
Click to show internal directories.
Click to hide internal directories.