README: suggest how to obfuscate all the packages

This mode is well tested, and may soon become the default,
but it wasn't properly documented yet.

For #594.
pull/602/head
Daniel Martí 2 years ago committed by lu4p
parent 7c2866356f
commit 745d089a9d

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

Loading…
Cancel
Save