Machine Learning with Go Quick Start Guide
上QQ阅读APP看书,第一时间看更新

Installing Go

Development environments are personal. Most developers will prefer one code editor or toolset over another. While we recommend the use of interactive tools such as Jupyter via gophernotes, the only prerequisite to running the code examples in this book is a working installation of Go 1.10 or higher. That is, the go command should be available and the GOPATH environment variable should be set up correctly. 

To install Go, download a binary release for your system from https://golang.org/dl/. Then, refer to the one of the following subsections that matches your operating system[2].

If you only want to use gophernotes to run Go code and you intend to use Docker as the installation method, then you can skip this section and go straight to the  Running Go interactively with gophernotes section.