Closed notdodo closed 3 years ago
it should be like:
ldflags := `-ldflags="-s -w`
if winHide {
ldflags += " -H=windowsgui"
}
if !noStaticLink {
ldflags += ` -extldflags '-static'`
}
ldflags += `"`
tagsFlag := `-tags="` + tags + `"`
im having the same issue with a hello world go file
Hi!
While trying the tool I simply executed:
gobfuscate test ./
and the output was:I've read that the issue could be due to a regression in Golang 1.13 due to
flag.Parse()
called before the flags initialization, so I stripped, inmain.go
But the output is the same of above. Go version is:
go1.13.7 linux/amd64
main.go is: