diff --git a/runconfig/config.go b/runconfig/config.go index dfb7af341f..937a3d4def 100644 --- a/runconfig/config.go +++ b/runconfig/config.go @@ -1,4 +1,4 @@ -package runconfig // import "github.com/docker/docker/runconfig" +package runconfig import ( "encoding/json" diff --git a/runconfig/config_test.go b/runconfig/config_test.go index 225008f77f..c247e06170 100644 --- a/runconfig/config_test.go +++ b/runconfig/config_test.go @@ -1,4 +1,4 @@ -package runconfig // import "github.com/docker/docker/runconfig" +package runconfig import ( "bytes" diff --git a/runconfig/errors.go b/runconfig/errors.go index b1c2e55c01..feeb679ec0 100644 --- a/runconfig/errors.go +++ b/runconfig/errors.go @@ -1,4 +1,4 @@ -package runconfig // import "github.com/docker/docker/runconfig" +package runconfig const ( // ErrConflictContainerNetworkAndLinks conflict between --net=container and links diff --git a/runconfig/hostconfig.go b/runconfig/hostconfig.go index d388289181..eb5dcf24c1 100644 --- a/runconfig/hostconfig.go +++ b/runconfig/hostconfig.go @@ -1,4 +1,4 @@ -package runconfig // import "github.com/docker/docker/runconfig" +package runconfig import ( "github.com/docker/docker/api/types/container" diff --git a/runconfig/hostconfig_test.go b/runconfig/hostconfig_test.go index 2fdcac54c7..61fa035016 100644 --- a/runconfig/hostconfig_test.go +++ b/runconfig/hostconfig_test.go @@ -1,6 +1,6 @@ //go:build !windows -package runconfig // import "github.com/docker/docker/runconfig" +package runconfig import ( "testing" diff --git a/runconfig/hostconfig_unix.go b/runconfig/hostconfig_unix.go index 84ce45b053..8ea794ea97 100644 --- a/runconfig/hostconfig_unix.go +++ b/runconfig/hostconfig_unix.go @@ -1,6 +1,6 @@ //go:build !windows -package runconfig // import "github.com/docker/docker/runconfig" +package runconfig import ( "fmt" diff --git a/runconfig/hostconfig_windows.go b/runconfig/hostconfig_windows.go index 31e0f1d1fa..773c10d93a 100644 --- a/runconfig/hostconfig_windows.go +++ b/runconfig/hostconfig_windows.go @@ -1,4 +1,4 @@ -package runconfig // import "github.com/docker/docker/runconfig" +package runconfig import ( "fmt"