From 7ca38d64d2067b9da26e0a294dd05ec6adcbe43a Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Fri, 7 Apr 2023 22:49:39 +0200 Subject: 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 --- pkg/platform/platform.go | 2 ++ pkg/platform/platform_unix.go | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg') 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 ( -- cgit v1.2.1