Closed Animesh420 closed 1 month ago
Please checkhere
There hasn't been any activity on this issue for a long time.
If the problem is still relevant, mark the issue as fresh with a /remove-lifecycle stale
comment.
If not, this issue will be closed in 14 days. This helps our maintainers focus on the active issues.
Prevent issues from auto-closing with a /lifecycle frozen
comment.
/lifecycle stale
Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.
If you have found a problem that seems similar to this, please open a new issue.
/lifecycle locked
Is this a docs issue?
Type of issue
Other
Description
When I am copying and running the code for docker golang SDK from https://docs.docker.com/engine/api/sdk/examples/ I am getting errors such as github.com/docker/docker/client ../../../go/pkg/mod/github.com/docker/docker@v26.0.1+incompatible/client/errors.go:28:16: undefined: errors.As ../../../go/pkg/mod/github.com/docker/docker@v26.0.1+incompatible/client/request.go:127:14: undefined: errors.Is ../../../go/pkg/mod/github.com/docker/docker@v26.0.1+incompatible/client/request.go:129:14: undefined: errors.Is ../../../go/pkg/mod/github.com/docker/docker@v26.0.1+incompatible/client/request.go:153:13: undefined: errors.Is
Location
https://docs.docker.com/engine/api/sdk/examples/
Suggestion
I was going throughr, and I found t but not sure how to use it.