Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go build 编译时报错有遇到过吗? #4

Open
elan117 opened this issue Oct 18, 2018 · 1 comment
Open

go build 编译时报错有遇到过吗? #4

elan117 opened this issue Oct 18, 2018 · 1 comment

Comments

@elan117
Copy link

elan117 commented Oct 18, 2018

`#go build

github.com/humpback/common/models

../common/models/container.go:200:20: cannot use origContainer.ContainerJSONBase.HostConfig.Resources.Ulimits (type []"github.com/docker/docker/vendor/github.com/docker/go-units".Ulimit) as type []"github.com/docker/go-units".Ulimit in assignment
`

@hstarorg
Copy link
Member

hstarorg commented Dec 7, 2018

cd GOPATH/src/github.com/docker
rm -rf docker/vendor

只要发现有类似的问题,都去包下找下有没有vendor目录,有的话,就改个名字。
golang直接依赖github项目,这些问题简直难以避免。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants