Skip to content

Personal take on a Go project environment setter upper like python's virtualenv

License

Notifications You must be signed in to change notification settings

marklap/goprojex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goprojex

An opinionated project management/import isolation tool. It basically provides a convenient way to modify and revert your GOPATH, PATH, and shell prompt to avoid version conflicts in imported go packages.

Build & Install

git clone [email protected]:marklap/goprojex.git
cd goprojex
go build -o goprojex *.go
cp goprojex $HOME/bin

Use

View help message

goprojex -h

Create a default workspace in the current directory:

goprojex

Create a workspace in ./here with a source tree of my/code:

goprojex -ws ./here -src my/code

Activate your workspace

. ./.gopjx/activate

Deactivate your workspace

deactivate

Contribute

Create a template_*.go file for your GOOS and submit a PR

About

Personal take on a Go project environment setter upper like python's virtualenv

Resources

License

Stars

Watchers

Forks

Packages

No packages published