Documentation
¶
Overview ¶
Command goldengen (re)generates one testdata/golden/<ver>/ fixture: it runs the fixed scenario in scenario.go against a fresh MemStore, then dumps the resulting journal and projections to disk. See docs/lld/LLD-03-upgrade-eras.md §3/§7 (PR-0) and testdata/golden/README.md.
Production code under internal/ is never imported for its side effects here beyond the same public API any node/tool uses (engine.New, Engine.Create/ Act/..., identity.Registry, dsl.Compile) — nothing in internal/ was changed to build this tool.
Usage:
go run ./cmd/goldengen # regenerate testdata/golden/v0.1 go run ./cmd/goldengen -ver v0.2 # a future version, new scenario go run ./cmd/goldengen -force # overwrite an existing version
Directories
¶
| Path | Synopsis |
|---|---|
|
Package goldenfmt is shared, non-production tooling for the golden-journal fold-compatibility gate (docs/lld/LLD-03-upgrade-eras.md §3/§7 PR-0).
|
Package goldenfmt is shared, non-production tooling for the golden-journal fold-compatibility gate (docs/lld/LLD-03-upgrade-eras.md §3/§7 PR-0). |
Click to show internal directories.
Click to hide internal directories.