Use Go Install by Default - Allow Forcing Go Get - v0.3.0
As of go1.1.16, go install
is considered the canonical way to download+compile+install packages, with the equivalent functionality of go get
being deprecated and slated for eventual removal.
With this, bingo v0.3.0 moves to using go install
by default.
If you're using a version of go prior to v1.16, you can instruct bingo to use go get
:
install example using --useget option
$ bingo install --useget github.com/golang/example/hello
install example using BINGO_USE_GET variable
$ BINGO_USE_GET=1 bingo install github.com/golang/example/hello
NOTE: Both of these work for the bingo update
command as well.