iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: http://github.com/go-nv/goenv
GitHub - go-nv/goenv: :blue_car: Like pyenv and rbenv, but for Go.
Skip to content

go-nv/goenv

Repository files navigation

Go Version Management: goenv

PR Checks Status Latest Release License Go Bash Linux macOS

goenv aims to be as simple as possible and follow the already established successful version management model of pyenv and rbenv.

New go versions are added automatically on a daily CRON schedule.

This project was cloned from pyenv and modified for Go.

asciicast

goenv does...

  • Let you change the global Go version on a per-user basis.
  • Provide support for per-project Go versions.
  • Allow you to override the Go version with an environment variable.
  • Search commands from multiple versions of Go at a time.

goenv compared to others:


Hints

AWS CodeBuild

The following snippet can be inserted in your buildspec.yml (or buildspec definition) for AWS CodeBuild. It's recommended to do this during the pre_build phase.

Side Note: if you use the below steps, please unset your golang version in the buildspec and run the installer manually.

- BUILD_DIR=$PWD
- cd /root/.goenv/plugins/go-build/../.. && git pull && cd -
- cd $BUILD_DIR

Links