This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Simple environment manager for the Go programming language

Project Description

[![Build Status](https://travis-ci.org/pwoolcoc/goenv.svg)](https://travis-ci.org/pwoolcoc/goenv)

# goenv - Set up a Golang environment

I got tired of manually setting my GOPATH when I went from one project to another, so I wrote a small utility to set up my environment for me. It is similar in spirit to Python’s virtualenv, though it does less, and does it a little differently.

The main difference is that instead of an ‘activate’ script that sets up your environment, this opens up a new subshell for you to work in. It will also download and install the version of Go that you want it to.

## Installation

Currently goenv is written in python, so installation is a simple pip install away:

$ sudo pip install pygoenv

## Usage

$ cd /path/to/project $ echo $GOPATH

# simplest usage $ goenv Downloading http://go.googlecode.com/files/go1.2.linux-amd64.tar.gz Extracting /home/user/.cache/goenv/go1.2.linux-amd64.tar.gz to /home/user/.config/goenv/dists/1.2 (golang-1.2) $ echo $GOPATH /path/to/project:/path/to/project/pkg/somepkg ^D $

# You don’t have to download a new go tarball every time… $ goenv Using existing tarball Go version 1.2 already exists, skipping extract (golang-1.2) $ ^D $

# specify Golang version $ goenv –go-version 1.1 Downloading http://go.googlecode.com/files/go1.1.linux-amd64.tar.gz Extracting /home/user/.cache/goenv/go1.1.linux-amd64.tar.gz to /home/user/.config/goenv/dists/1.1 (golang-1.1) $

## Contact

email: paul@woolcock.us

twitter: @pauldwoolcock

jabber: pauldwoolcock@dukgo.com

irc: duncan @ irc.mozilla.org

Release History

Release History

This version
History Node

1.7.0

History Node

1.6.1

History Node

1.6.0

History Node

1.5.0

History Node

1.4.1

History Node

1.4.0

History Node

1.3

History Node

1.2

History Node

1.1

History Node

1.0

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pygoenv-1.7.0-py2.py3-none-any.whl (7.4 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Aug 24, 2016
pygoenv-1.7.0.tar.gz (5.7 kB) Copy SHA256 Checksum SHA256 Source Aug 24, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting