Closed rene00 closed 3 years ago
When setting GO111MODULE=auto
or GO111MODULE=off
, go get
completes successfully:
$ cd && go clean -cache -modcache && GO111MODULE=auto go get github.com/commander-cli/commander/cmd/commander
Hey @rene00 would you mind trying to recreate this again? I am unable to do so after #167 was merged
Nevermind, I just reproduced it.
@dylanhitt Does this require a release to be really solved? running
go get github.com/commander-cli/commander/cmd/commander
on a fresh golang docker container I still get the error.
@rodrigoaguilera that's more than likely the case as the following works:
root@a518f274a58a:/go# go get github.com/commander-cli/commander/v2/cmd/commander@master
I think we also would need to change the docs to represent the v2 module. Like
go get github.com/commander-cli/commander/v2/cmd/commander
I can get a PR setup for a v2.5.0
release as we have some features pending.
Thank you for bringing this up.
Prerequisites
Description
When attempting to install
commander
usinggo get
outside of thecommander
project directory, it fails.Running the
go get
command within thecommander
project directory completes successfully:Steps to Reproduce
go
1.16.commander
outside project directory:Expected behavior: A working
commander
binary installed inGOBIN
.Actual behavior:
go get
fails.Specifications
go
1.16
to reproduce.You can get the version information from executing
commander --version
.