Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package not found #38

Open
PhotoKevin opened this issue Jul 7, 2020 · 3 comments
Open

Package not found #38

PhotoKevin opened this issue Jul 7, 2020 · 3 comments

Comments

@PhotoKevin
Copy link

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.

@rodjunger
Copy link

Did you ever fix this?

@PhotoKevin
Copy link
Author

I never found a fix.

@gvillegass
Copy link

never never? xd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants