Skip to content

v0.3.0

Latest
Compare
Choose a tag to compare
@abhinav abhinav released this 22 Dec 17:41
· 20 commits to main since this release
3e960df

This release adds support to the CLI for using Go package patterns like ./...
to match and transform files.
You can now use errtrace -w ./... to instrument all files in a Go module,
or errtrace -l ./... to list all files that would be changed.

Added

  • cmd/errtrace: Support Go package patterns in addition to file paths.
    Use errtrace -w ./... to transform all files under the current package
    and its descendants.

Changed

  • cmd/errtrace:
    Print a message when reading from stdin because no arguments were given.
    Use '-' as the file name to read from stdin without a warning.