I wanted to upgrade to Go 1.3 on my Desktop at work. The version of Go shipped with Ubuntu 14.10 is 1.2. I found this article talking about godeb a go program to package Go into a .deb file installable on Ubuntu.
You still need Go 1.0+ installed, otherwise the installation is straightforward:
$ go get gopkg.in/niemeyer/godeb.v1/cmd/godeb
And it’s easy to use:
$ $GOPATH/bin/godeb list 1.4beta1 1.3.3 [...] 1.0.1 $ sudo $GOPATH/bin/godeb install 1.3.3
You may to rebuild you Go packages after the install, the easiest is to delete the old version and let Go rebuild them when they are needed:
$ rm -rf $GOPATH/pkg/*