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.
Useerrtrace -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.