builder: 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:
@@ -1,4 +1,4 @@
|
||||
package git // import "github.com/docker/docker/builder/remotecontext/git"
|
||||
package git
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package git // import "github.com/docker/docker/builder/remotecontext/git"
|
||||
package git
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
//
|
||||
// This package is specifically written for use with docker build contexts, and
|
||||
// should not be used as a general-purpose utility.
|
||||
package urlutil // import "github.com/docker/docker/builder/remotecontext/urlutil"
|
||||
package urlutil
|
||||
|
||||
import (
|
||||
"strings"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package urlutil // import "github.com/docker/docker/builder/remotecontext/urlutil"
|
||||
package urlutil
|
||||
|
||||
import "testing"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user