There's nothing to stop you from doing this today, everything is self
contained and simple environmental variables keep things in check. You
can have multiple GOROOT directories, and as long as it and your PATH
are set properly it can be pretty easy to switch between them. You
might even have a shell script in each GOROOT that sets the
environment variables properly for you to work on that virtualenv,
say:
- Jim
Ah, sorry about that! For Go that would involve keeping separate
copies of bin and pkg (I think that's it), and there's nothing
built-in that supports anything like that, that I am aware of.
- Jim
Hope that helps.
Cheers
Dave