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) Install ¶
func (e *Environment) Install(ver string) error
install the given version into the environment creating a Symlink to it
Click to show internal directories.
Click to hide internal directories.