[24.0 backport] add //go:build directives to prevent downgrading to go1.16 language
@@ -1,3 +1,6 @@
+// FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
+//go:build go1.19
+
package system // import "github.com/docker/docker/api/server/router/system"
import (
package containerimage
package daemon // import "github.com/docker/docker/daemon"
// Package daemon exposes the functions that occur on the host server
// that the Docker daemon is running.
//
package config
@@ -1,5 +1,5 @@
-//go:build linux
-// +build linux
+//go:build go1.19 && linux
package overlay
package libnetwork
package setmatrix
// Package options provides a way to pass unstructured sets of options to a
// component expecting a strongly-typed configuration structure.
package options
package testutil // import "github.com/docker/docker/testutil"