diff options
author | Sebastiaan van Stijn <github@gone.nl> | 2023-04-07 22:49:39 +0200 |
---|---|---|
committer | Sebastiaan van Stijn <github@gone.nl> | 2023-04-07 22:49:39 +0200 |
commit | 7ca38d64d2067b9da26e0a294dd05ec6adcbe43a (patch) | |
tree | 0c06852de7295a3e6fa4079dd7c2fad0cc69a5b0 /pkg | |
parent | 9434919f768d6c471e65db34c0a80b6c7c614668 (diff) | |
download | docker-7ca38d64d2067b9da26e0a294dd05ec6adcbe43a.tar.gz |
pkg/platform: move package doc to platform-agnostic file
Make sure the package's documentation is available for any platform,
not just "unix".
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/platform/platform.go | 2 | ||||
-rw-r--r-- | pkg/platform/platform_unix.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/platform/platform.go b/pkg/platform/platform.go index f6b02b734a..874461a93c 100644 --- a/pkg/platform/platform.go +++ b/pkg/platform/platform.go @@ -1,3 +1,5 @@ +// Package platform provides helper function to get the runtime architecture +// for different platforms. package platform // import "github.com/docker/docker/pkg/platform" import ( diff --git a/pkg/platform/platform_unix.go b/pkg/platform/platform_unix.go index 9911b820ca..b52708d112 100644 --- a/pkg/platform/platform_unix.go +++ b/pkg/platform/platform_unix.go @@ -1,8 +1,6 @@ //go:build !windows // +build !windows -// Package platform provides helper function to get the runtime architecture -// for different platforms. package platform // import "github.com/docker/docker/pkg/platform" import ( |