Instructions
The current version of golang go for raspbian is 1.11, this packages up version 1.15.6.
Run with
Should produce the following packages
golang-go_1.15.6~1_all.deb
golang-1.15.6-go_1.15.6-1+rhubarb+pi_armhf.deb
The first package contains the symbolic links for /usr/bin and the second package contains all the required binaries in /usr/share.
$ dpkg -l golang\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-================-===================-============-=================================
ii golang-1.15.6-go 1.15.6-1+rhubarb+pi armhf Go programming language compiler
ii golang-go 2:1.15.6~1 all Go programming language compiler
This can be run directly as
$ go version
go version go1.15.6 linux/arm
These packages should become obsolete when the formal release is updated.