Skip to content

EmbedLedger 0.1.0

Choose a tag to compare

@agammann agammann released this 13 Sep 21:53
· 1 commit to main since this release

EmbedLedger records the files selected by Go’s embed resolver and reports changes against a reviewed JSON baseline.

Install

Requires Go 1.27 or newer on PATH.

go install github.com/agammann/embedledger@v0.1.0
embedledger version

Use

Run these commands from your Go module root:

embedledger scan
embedledger snapshot
embedledger check

Commit the baseline after reviewing it. The check exits with status 1 when files are added, removed, or changed, and status 2 when input is invalid or a scan is incomplete.

Includes target and build tag selection, optional test assets, JSON output, byte budgets, and protection against accidental baseline overwrites. Uses only the Go standard library.

Validated with real resolver and CLI tests on Windows, Linux, and macOS, plus the Linux race detector.

This release distributes source through GitHub and Go installation. It inventories selected source inputs, not final binary size. No redistribution license has been selected.

Documentation · Changelog · CI