oci: 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:
Sebastiaan van Stijn
2025-05-30 12:43:59 +02:00
parent 23009a700a
commit 7ce4e9685a
8 changed files with 9 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
package caps // import "github.com/docker/docker/oci/caps"
package caps
// DefaultCapabilities returns a Linux kernel default capabilities
func DefaultCapabilities() []string {

View File

@@ -1,4 +1,4 @@
package caps // import "github.com/docker/docker/oci/caps"
package caps
import (
"fmt"

View File

@@ -1,4 +1,5 @@
package caps // import "github.com/docker/docker/oci/caps"
package caps
import (
"context"
"sync"

View File

@@ -1,6 +1,6 @@
//go:build !linux
package caps // import "github.com/docker/docker/oci/caps"
package caps
func initCaps() {
// no capabilities on Windows

View File

@@ -1,7 +1,7 @@
// TODO(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
//go:build go1.23
package oci // import "github.com/docker/docker/oci"
package oci
import (
"fmt"

View File

@@ -1,4 +1,4 @@
package oci // import "github.com/docker/docker/oci"
package oci
import (
"fmt"

View File

@@ -1,4 +1,4 @@
package oci // import "github.com/docker/docker/oci"
package oci
import "github.com/opencontainers/runtime-spec/specs-go"

View File

@@ -1,4 +1,4 @@
package oci // import "github.com/docker/docker/oci"
package oci
import (
"fmt"