-
Notifications
You must be signed in to change notification settings - Fork 50
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
Update README.md #211
Update README.md #211
Conversation
suhaibmujahid
commented
Apr 1, 2019
Signed-off-by: Suhaib Mujahid <suhaibmujahid@gmail.com>
Thank you for the patch @suhaibmujahid! |
Thank you @bzz for consideration. I tried it but it didn't work:
I'm trying to use Have a good day :) |
Hmm, that error surprises me. What version of Go are you currently building with ( |
I'm using |
Thanks. I am unfortunately having some trouble reproducing this issue right now. Here's what I tried—if you run this locally does it work? # Acquire Go 1.11.5
go get golang.org/dl/go1.11.5
go1.11.5 download
# …
go1.11.5 clean -modcache
# First, let's try it without modules.
rm $GOPATH/bin/enry
env -u GO111MODULE go1.11.5 get gopkg.in/src-d/enry.v1/cmd/enry
# works OK
enry -version
# undefined (OK)
# Now let's try it with modules enabled.
rm $GOPATH/bin/enry
mkdir testing ; cd testing ; go mod init testing
env GO111MODULE=on go1.11.5 get gopkg.in/src-d/enry.v1/cmd/enry
enry -version
# undefined (OK) |
After running go get gopkg.in/src-d/enry.v1/cmd/enry
# go: downloading gopkg.in/src-d/enry.v1 v1.7.2
# go: downloading gopkg.in/toqueteos/substring.v1 v1.0.2
# go: downloading github.com/toqueteos/trie v1.0.0
enry -version
# undefined Thank you. |
Co-Authored-By: SuhaibMujahid <suhaibmujahid@gmail.com> Signed-off-by: Suhaib Mujahid <suhaibmujahid@gmail.com>
Thanks. I suspect you might have had a broken module hash somewhere from an earlier 1.11 build (cf. golang/go#27093). |