A workspace creator with environment wrapper script for the Go language
Go
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.markdown
gowork.go

README.markdown

gowork

gowork is a tool for creating Go workspaces. It also provides a script for easily shelling into and out of them, much like environments created by Python virtualenv, Perl local::lib, Ruby rip or bundler, etc. (In fact, the activate script it generates is cribbed mostly from virtualenv for Python.)

Usage

$ gowork myenv
$ source myenv/bin/activate
(myenv)$ go get github.com/nickoneill/go-dropbox  # or whatever
(myenv)$ go list github.com/nickoneill/go-dropbox
github.com/nickoneill/go-dropbox
(myenv)$ deactivate
$ go list github.com/nickoneill/go-dropbox
can't load package: package github.com/nickoneill/go-dropbox: import
"github.com/nickoneill/go-dropbox": cannot find package

Requirements

  • Go 1

Installation

  1. Run go get github.com/markpasc/gowork to install the gowork tool into your Go tree or current workspace.

If you installed Go on the Mac using Homebrew, you'll need to brew unlink go && brew link go to make the gowork command available.