Go 语言开发团队开发了适用于以下操作系统的编译器:
目前有2个版本的编译器:Go 原生编译器 gc 和非原生编译器 gccgo,这两款编译器都是在类 Unix 系统下工作 。
在Mac OS下安装Go:Downloads
sh-3.2# go version go version go1.8.3 darwin/amd64
2017.8