I installed golang via (on RPi3, Raspbian Stretch)
sudo apt install golang
Currently go version reports
go version go1.7.4 linux/arm
I successfully compiled and ran some go program that toggles GPIO using "go-rpio" library.
The question is can I copy/move the resulting binary program to RPI2,1, as well other Raspbian distribution (such as Jessie).
How portable is the binary generated by golang?