env

package
v0.0.0-...-f26b8b9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2014 License: GPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment

type Environment struct {
	Goroot     string
	Gotooldir  string
	Gopath     string
	PS1        string
	VenGO_PATH string
}

func NewEnvironment

func NewEnvironment(name, prompt string) *Environment

Create a new Environment struct and return it addrees back

func (*Environment) Exists

func (e *Environment) Exists() bool

checks if a environment already exists

func (*Environment) Generate

func (e *Environment) Generate() error

generate an environment file

func (*Environment) Install

func (e *Environment) Install(ver string) error

install the given version into the environment creating a Symlink to it

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL