Open CaledoniaProject opened 5 years ago
Is an argument necessary, or would you rather the tool explicitly noticed if a package was called "main" and didn't rename it?
Since the main
function in the main
package is the entrypoint of a go program, I usually build the program like this:
GOPATH=$PWD go build src/main/main.go
So if the main
directory is renamed I will need to locate that directory first.
My go project file structure is like the following:
However gobfuscate processed all packages, so I had to rename it back to
main
and build it.Can you add an argument to exclude certain package names?