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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?