Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
x/vgo: "cannot find module providing package" #31370
What version of Go are you using (
This is because by default go will pull the latest tagged version of the repo. And the latest tag (https://github.com/moby/moby/tree/v17.03.2-ce) does not have the errdefs package.
And you don't need to use vgo anymore. Module support is integrated in to the Go toolchain, and vgo is going to be removed soon.