goenv

You know, rbenv but for go.

  • Owner: wfarr/goenv
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

goenv

rbenv, but for Go.

Installation

To install the latest stable release:

git clone -b v0.0.5 https://github.com/wfarr/goenv.git ~/.goenv

Then add the following to your shell config at the end:

export PATH="$HOME/.goenv/bin:$PATH"
eval "$(goenv init -)"

Usage

» goenv help
Usage: goenv <command> [<args>]

Some useful goenv commands are:
   exec        Execute a command from a particular Go version.
   shell       Set GOENV_VERSION for the lifetime of a shell.
   local       Persist the preferred Go version in the cwd.
   global      Persist the preferred Go default version.
   install     Install a version of Go.
   uninstall   Uninstall a version of Go.
   version     Show the current Go version.
   versions    Display all versions of Go installed in `${GOENV_ROOT}/versions/*'.
   rehash      Rehash goenv shims (run this after installing executables)

See `goenv help <command>' for information on a specific command.

Credits

This library was heavily, heavily, heavily inspired by
@sstephenson's
rbenv and
ruby-build projects.
A few ideas were also taken from nvm.

A number of patterns and utilities are borrowed from that project,
and it is my hope that goenv provides the same simplicity,
elegance, and usability that I've come to love in rbenv and ruby-build
for Go users.

Main metrics

Overview
Name With Ownerwfarr/goenv
Primary LanguageShell
Program languageShell (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2013-06-15 01:51:25
Pushed At2016-06-22 14:53:26
Last Commit At2016-06-22 10:53:26
Release Count6
Last Release Name0.0.5 (Posted on )
First Release Namev0.0.1 (Posted on )
用户参与
Stargazers Count109
Watchers Count7
Fork Count36
Commits Count20
Has Issues Enabled
Issues Count6
Issue Open Count5
Pull Requests Count4
Pull Requests Open Count5
Pull Requests Close Count9
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private