package golden
Import Path
go.pact.im/x/plumb/internal/golden (on go.dev)
Dependency Relation
imports 3 packages, and imported by 0 packages
Involved Source Files
Package golden compares test output against stored golden files, rewriting
them instead when the PLUMB_GOLDEN_UPDATE environment variable is set.
Package-Level Functions (total 2, in which 1 is exported)
Check compares got against the golden file at path and fails the test on a
mismatch. When updating() is true it rewrites the file instead (creating it if
absent); otherwise a missing file is fatal and names the env var to set.
Package-Level Constants (only one, which is unexported)
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)