Hi, you can also use docker. 

There are official docker images in docker hub: 
https://hub.docker.com/_/golang/

As shown in the docker hub page, you can use the command:

docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp golang:1.6 go build


This way you can easily use whichever version you require.

On Wednesday, December 14, 2016 at 7:58:55 PM UTC+3, aind...@gmail.com 
wrote:
>
> I currently have the distribution "go version go1.7.1 darwin/amd64" 
> installed. However, I'd like to test my applications on the 1.8 beta. 
>
>    - Is it okay to install another distribution without messing up the 
>    environment variables?
>    - If I build from source, can I scope the installation to a specific 
>    directory? 
>    - What is the recommended procedure for having multiple installations 
>    side-by-side?
>    
>
> Thank You,
> Akhil Indurti
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to