Update docs - go 1.7 needed for building

The project uses the built-in `context` package introduced in go 1.7 - update the docs to reflect that.
This commit is contained in:
Sid Verma 2018-04-14 10:10:44 +05:30 committed by GitHub
parent 8578a54b8b
commit d037716b91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@
cAdvisor is written in the [Go](http://golang.org) programming language. If you haven't set up a Go development environment, please follow [these instructions](http://golang.org/doc/code.html) to install go tool and set up GOPATH. Note that the version of Go in package repositories of some operating systems is outdated, so please [download](https://golang.org/dl/) the latest version. cAdvisor is written in the [Go](http://golang.org) programming language. If you haven't set up a Go development environment, please follow [these instructions](http://golang.org/doc/code.html) to install go tool and set up GOPATH. Note that the version of Go in package repositories of some operating systems is outdated, so please [download](https://golang.org/dl/) the latest version.
**Note**: cAdvisor requires Go 1.6 to build. **Note**: cAdvisor requires Go 1.7 to build.
After setting up Go, you should be able to `go get` cAdvisor as expected (we use `-d` to only download): After setting up Go, you should be able to `go get` cAdvisor as expected (we use `-d` to only download):