Skip to content

Releases: TekWizely/bingo

Explicitly Default Version to '@latest' - v0.3.1

25 Aug 01:52
c7b1d9b
Compare
Choose a tag to compare

The switch to go install introduced a bug, as go install requires an explicit @version in order to trigger the newly-added download+compile feature, where as the existing go get silently defaulted to @latest when no version was given.

This release adds logic to explicitly default the version to @latest if no version tag is provided.

Use Go Install by Default - Allow Forcing Go Get - v0.3.0

23 Aug 17:32
51c3ee0
Compare
Choose a tag to compare

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.

Version Support - Update Support - v0.2.0

12 Mar 00:24
d4d48d9
Compare
Choose a tag to compare

Compiling + Installing Binaries

Specifying Package Version

You can specify which version of a package to install.

'@version' Syntax

install example using @Version syntax

$ bingo install github.com/golang/example/[email protected]
'--version' Option

install example using --version option

$ bingo install --version v1.2.3 github.com/golang/example/hello

Updating Binaries

To update an installed binary, use the update command:

$ bingo update hello

Updating hello package github.com/golang/example/hello
go: found github.com/golang/example/hello in github.com/golang/example v0.0.0-20170904185048-46695d81d1fa
Done

NOTE: By default, the resulting package version will be determined by Go's version resolution rules.

Specifying Package Version

You can specify which version of a package to update to.

NOTE: The target version does not have to be newer than the existing version. i.e you can update to an older version of the package.

'@version' Syntax

update example using @Version syntax

$ bingo update [email protected]
'--version' Option

update example using --version option

$ bingo update --version v1.2.3 hello

First Release : v0.1.0

17 Feb 06:22
4e94d28
Compare
Choose a tag to compare
Pre-release

Functioning prototype.

Able to manage golang packages installable via go get.