ubuntu 通过apt安装最新版go

add-apt-repository命令安装
sudo apt-get install software-properties-common
sudo apt-get update

sudo add-apt-repository ppa:longsleep/golang-backports sudo apt-get install golang-go
原文地址:https://www.cnblogs.com/fightKun/p/15672178.html