Skip to content

Package not found #38

@PhotoKevin

Description

@PhotoKevin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions