Skip to content

Commit bf9d739

Browse files
committed
api: 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 <[email protected]>
1 parent cee6f64 commit bf9d739

File tree

109 files changed

+114
-109
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+114
-109
lines changed

api/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package api // import "github.com/docker/docker/api"
1+
package api
22

33
// Common constants for daemon and client.
44
const (

api/server/backend/build/backend.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package build // import "github.com/docker/docker/api/server/backend/build"
1+
package build
22

33
import (
44
"context"

api/server/backend/build/tag.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package build // import "github.com/docker/docker/api/server/backend/build"
1+
package build
22

33
import (
44
"context"

api/server/httpstatus/status.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package httpstatus // import "github.com/docker/docker/api/server/httpstatus"
1+
package httpstatus
22

33
import (
44
"context"

api/server/httputils/decoder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package httputils // import "github.com/docker/docker/api/server/httputils"
1+
package httputils
22

33
import (
44
"io"

api/server/httputils/form.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package httputils // import "github.com/docker/docker/api/server/httputils"
1+
package httputils
22

33
import (
44
"encoding/json"

api/server/httputils/form_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package httputils // import "github.com/docker/docker/api/server/httputils"
1+
package httputils
22

33
import (
44
"math"

api/server/httputils/httputils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package httputils // import "github.com/docker/docker/api/server/httputils"
1+
package httputils
22

33
import (
44
"context"

api/server/httputils/httputils_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package httputils // import "github.com/docker/docker/api/server/httputils"
1+
package httputils
22

33
import (
44
"net/http"

api/server/httputils/write_log_stream.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package httputils // import "github.com/docker/docker/api/server/httputils"
1+
package httputils
22

33
import (
44
"context"

0 commit comments

Comments
 (0)