remove pkg/stringid as it has moved to the client module

pkg/stringid moved to github.com/moby/moby/client/pkg/stringid, and
the 28.4 transitional releasee will provide an alias for those that
use github.com/docker/docker as dependency, so we can remove the
alias for the moby module.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2025-07-28 19:00:17 +02:00
parent 1d6d8f390f
commit c055c3e098

View File

@@ -1,18 +0,0 @@
// Package stringid provides helper functions for dealing with string identifiers.
package stringid
import "github.com/moby/moby/client/pkg/stringid"
// TruncateID returns a shorthand version of a string identifier for presentation.
//
// Deprecated: use [stringid.TruncateID]. This package will be removed in the next release.
func TruncateID(id string) string {
return stringid.TruncateID(id)
}
// GenerateRandomID returns a unique, 64-character ID consisting of a-z, 0-9.
//
// Deprecated: use [stringid.GenerateRandomID]. This package will be removed in the next release.
func GenerateRandomID() string {
return stringid.GenerateRandomID()
}