moby/pkg/platform
Sebastiaan van Stijn 5c78cbd3be
pkg/platform: deprecate OSType in favor or runtime.GOOS
This const looks to only be there for "convenience", or _possibly_ was created
with future normalization or special handling in mind.

In either case, currently it is just a direct copy (alias) for runtime.GOOS,
and defining our own type for this gives the impression that it's more than
that. It's only used in a single place, and there's no external consumers, so
let's deprecate this const, and use runtime.GOOS instead.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-04-08 14:57:33 +02:00
..
platform.go pkg/platform: deprecate OSType in favor or runtime.GOOS 2023-04-08 14:57:33 +02:00
platform_unix.go pkg/platform: move package doc to platform-agnostic file 2023-04-07 22:49:39 +02:00
platform_windows.go pkg/platform: un-export consts that are only for internal use 2023-04-08 14:57:30 +02:00