mirror of
https://github.com/moby/moby.git
synced 2026-01-11 10:41:43 +00:00
errdefs: remove // import comments
These comments were added to enforce using the correct import path for
our packages ("github.com/docker/docker", not "github.com/moby/moby").
However, when working in go module mode (not GOPATH / vendor), they have
no effect, so their impact is limited.
Remove these imports in preparation of migrating our code to become an
actual go module.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -5,4 +5,4 @@
|
|||||||
// To check if a particular error implements one of these interfaces, there are helper
|
// To check if a particular error implements one of these interfaces, there are helper
|
||||||
// functions provided (e.g. `Is<SomeError>`) which can be used rather than asserting the interfaces directly.
|
// functions provided (e.g. `Is<SomeError>`) which can be used rather than asserting the interfaces directly.
|
||||||
// If you must assert on these interfaces, be sure to check the causal chain (`err.Unwrap()`).
|
// If you must assert on these interfaces, be sure to check the causal chain (`err.Unwrap()`).
|
||||||
package errdefs // import "github.com/docker/docker/errdefs"
|
package errdefs
|
||||||
|
|||||||
Reference in New Issue
Block a user