From b6f99f6d7ffdd77f9284e8aae740539d211496f2 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Fri, 30 May 2025 12:54:29 +0200 Subject: [PATCH] pkg/stringid: 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 --- pkg/stringid/stringid.go | 2 +- pkg/stringid/stringid_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/stringid/stringid.go b/pkg/stringid/stringid.go index a79c96728e..919cd5a500 100644 --- a/pkg/stringid/stringid.go +++ b/pkg/stringid/stringid.go @@ -1,5 +1,5 @@ // Package stringid provides helper functions for dealing with string identifiers -package stringid // import "github.com/docker/docker/pkg/stringid" +package stringid import ( "crypto/rand" diff --git a/pkg/stringid/stringid_test.go b/pkg/stringid/stringid_test.go index 3d342d2870..9e5dee5fcb 100644 --- a/pkg/stringid/stringid_test.go +++ b/pkg/stringid/stringid_test.go @@ -1,4 +1,4 @@ -package stringid // import "github.com/docker/docker/pkg/stringid" +package stringid import ( "testing"