goenv

You know, rbenv but for go.

  • 所有者: wfarr/goenv
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

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.

主要指标

概览
名称与所有者wfarr/goenv
主编程语言Shell
编程语言Shell (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2013-06-15 01:51:25
推送于2016-06-22 14:53:26
最后一次提交2016-06-22 10:53:26
发布数6
最新版本名称0.0.5 (发布于 )
第一版名称v0.0.1 (发布于 )
用户参与
星数109
关注者数7
派生数36
提交数20
已启用问题?
问题数6
打开的问题数5
拉请求数4
打开的拉请求数5
关闭的拉请求数9
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?