Skip to content

Commit

Permalink
README: suggest how to obfuscate all the packages
Browse files Browse the repository at this point in the history
This mode is well tested, and may soon become the default,
but it wasn't properly documented yet.

For burrowers#594.
  • Loading branch information
mvdan committed Oct 12, 2022
1 parent 7c28663 commit c3b1e79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ order to:

The tool obfuscates the packages matching `GOGARBLE`, a comma-separated list of
glob patterns of module path prefixes, as documented in `go help private`.
To obfuscate all the packages in a build, use `GOGARBLE=*`.
When `GOGARBLE` is empty, it assumes the value of `GOPRIVATE`.
When `GOPRIVATE` is also empty, then `GOGARBLE` assumes the value of the current
module path, to obfuscate all packages under the current module.
Expand Down

0 comments on commit c3b1e79

Please sign in to comment.