unixpickle/gobfuscate

Package not found

PhotoKevin opened this issue · 3 comments

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

.
07/07/2020 01:34 PM ..
07/07/2020 01:18 PM testdata
07/06/2020 11:19 AM 3,736 common.go
07/06/2020 11:19 AM 32,561 config.go
(and so on)

I suspect stupid user error on my part, but I'm befuddled.

Did you ever fix this?

I never found a fix.

never never? xd