opts: 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:44:14 +02:00
parent 7ce4e9685a
commit 0ea03c4add
12 changed files with 12 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
package opts // import "github.com/docker/docker/opts"
package opts
import (
"testing"

View File

@@ -1,4 +1,4 @@
package opts // import "github.com/docker/docker/opts"
package opts
import (
"os"

View File

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

View File

@@ -1,4 +1,4 @@
package opts // import "github.com/docker/docker/opts"
package opts
import (
"net"

View File

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

View File

@@ -1,6 +1,6 @@
//go:build !windows
package opts // import "github.com/docker/docker/opts"
package opts
const (
// DefaultHTTPHost Default HTTP Host used if only port is provided to -H flag e.g. dockerd -H tcp://:8080

View File

@@ -1,4 +1,4 @@
package opts // import "github.com/docker/docker/opts"
package opts
const (
// TODO Windows. Identify bug in GOLang 1.5.1+ and/or Windows Server 2016 TP5.

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
package opts // import "github.com/docker/docker/opts"
package opts
import (
"testing"