Hi,
In develop/sdk/index.md we have the following instruction under the heading Go SDK :
go get github.com/docker/docker/client
But when I run this from the command line I get the following errors
$ go get github.com/docker/docker/client
# github.com/docker/docker/client
src/github.com/docker/docker/client/client.go:101: undefined: http.ErrUseLastResponse
src/github.com/docker/docker/client/client.go:179: transport.DialContext undefined (type *http.Transport has no field or method DialContext)
src/github.com/docker/docker/client/client.go:179: dialer.DialContext undefined (type *net.Dialer has no field or method DialContext)
src/github.com/docker/docker/client/hijack.go:73: undefined: "time".Until
src/github.com/docker/docker/client/hijack.go:117: undefined: tlsConfigClone
Is this instruction correct in the docs or are these errors I see local to my setup?
Local setup
~/dev/orc$ go version
go version go1.6.2 linux/amd64
~/dev/orc$ docker --version
Docker version 17.12.1-ce, build 7390fc6
~/dev/orc$ echo $GOPATH
/home/rkielty/dev/orc
$ uname -a
Linux my-machine-name 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
In the unlikely event that this is a doc bug am happy to submit a fix based on any info gathered here.
MT for any help provided
Rob