I'm trying to obfuscate the dnscrypt-proxy for, well, reasons that aren't important. I've placed it in:
C:\Users\kevin\go\src\github.com\DNSCrpt\dnscrypt-proxy and it builds fine.
go build -ldflags="-s -w" -mod vendor
Now I try to gobfuscate it:
C:\Users\kevin\go\src>gobfuscate github.com\DNSCrpt\dnscrypt-proxy outxxx
2020/07/07 13:36:14 Copying GOPATH...
Failed to copy into a new GOPATH: package github.com\DNSCrpt\dnscrypt-proxy not found
I'm trying to obfuscate the dnscrypt-proxy for, well, reasons that aren't important. I've placed it in: C:\Users\kevin\go\src\github.com\DNSCrpt\dnscrypt-proxy and it builds fine. go build -ldflags="-s -w" -mod vendor
Now I try to gobfuscate it: C:\Users\kevin\go\src>gobfuscate github.com\DNSCrpt\dnscrypt-proxy outxxx 2020/07/07 13:36:14 Copying GOPATH... Failed to copy into a new GOPATH: package github.com\DNSCrpt\dnscrypt-proxy not found
GOPATH seems ok: C:\Users\kevin\go\src>set gopath GOPATH=C:\Users\kevin\go
I used filename completion to ensure I didn't make any typos, but here's a dir:
C:\Users\kevin\go\src>dir github.com\DNSCrpt\dnscrypt-proxy Volume in drive C is OS Volume Serial Number is 080E-F589
Directory of C:\Users\kevin\go\src\github.com\DNSCrpt\dnscrypt-proxy
07/07/2020 01:34 PM
I suspect stupid user error on my part, but I'm befuddled.