You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My issue is about the documentation content or website
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
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.
The text was updated successfully, but these errors were encountered: