samalba / dockerclient

Docker client library in Go
http://www.docker.com/
Apache License 2.0
322 stars 140 forks source link

Docker pkg/units moved #200

Closed donhumphreys closed 8 years ago

donhumphreys commented 8 years ago

It appears that about an hour ago, docker decided to move pkg/units to pkg/go-units. See the PR here: https://github.com/docker/docker/pull/18682/files. This causes the below error when performing a "go get" on dockerclient.

github.com/samalba/dockerclient (download)
github.com/docker/docker (download)
package github.com/docker/docker/pkg/units: cannot find package "github.com/docker/docker/pkg/units" in any of:
    /usr/local/go/src/github.com/docker/docker/pkg/units (from $GOROOT)
    /go/src/github.com/docker/docker/pkg/units (from $GOPATH)

I believe that this line needs to be changed, but I am very new to Go so not 100% sure: https://github.com/samalba/dockerclient/blob/0197eaa42571af873532ba11499f6ccdf16a5f3a/types.go#L8

donhumphreys commented 8 years ago

Closing as it is a duplicate of this #197