Hacker News new | past | comments | ask | show | jobs | submit login

Just install them in different paths. You have three options then:

1. Use absolute paths for the Go tools: $ /home/paul/go-tip/bin/go run myfile.go

2. Set the GOPATH every time accordingly (script)

3. Rename the folder. For example on my Windows PC I have GOPATH pointed to D:/dev/go. In the dev folder I have Go installations in go/ (currently 1.1), go1.0.3 (guess the version) and go-tip. If I want to use another version I just rename the folder to go/




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: