From c07cee05e272642d26bbb4b69aea0698416a1507 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 18 Jun 2024 12:07:25 +0200 Subject: [PATCH] Update go:build comments to go1.21 Match the minimum version that's specified on our vendor.mod. Signed-off-by: Sebastiaan van Stijn --- cli-plugins/manager/error.go | 2 +- cli/command/cli.go | 2 +- cli/command/config/inspect.go | 2 +- cli/command/container/inspect.go | 2 +- cli/command/context.go | 2 +- cli/command/context/create.go | 2 +- cli/command/context/create_test.go | 2 +- cli/command/context/inspect.go | 2 +- cli/command/context/list.go | 2 +- cli/command/context_test.go | 2 +- cli/command/defaultcontextstore.go | 2 +- cli/command/defaultcontextstore_test.go | 2 +- cli/command/formatter/container.go | 2 +- cli/command/formatter/container_test.go | 2 +- cli/command/formatter/custom.go | 2 +- cli/command/formatter/formatter.go | 2 +- cli/command/formatter/formatter_test.go | 2 +- cli/command/formatter/reflect.go | 2 +- cli/command/formatter/reflect_test.go | 2 +- cli/command/formatter/volume_test.go | 2 +- cli/command/idresolver/idresolver.go | 2 +- cli/command/image/inspect.go | 2 +- cli/command/image/push.go | 2 +- cli/command/inspect/inspector.go | 2 +- cli/command/network/formatter_test.go | 2 +- cli/command/network/inspect.go | 2 +- cli/command/node/formatter_test.go | 2 +- cli/command/node/inspect.go | 2 +- cli/command/plugin/formatter_test.go | 2 +- cli/command/plugin/inspect.go | 2 +- cli/command/secret/inspect.go | 2 +- cli/command/service/formatter_test.go | 2 +- cli/command/service/inspect.go | 2 +- cli/command/service/inspect_test.go | 2 +- cli/command/service/opts.go | 2 +- cli/command/stack/loader/loader.go | 2 +- cli/command/system/info.go | 2 +- cli/command/system/inspect.go | 2 +- cli/command/telemetry_docker.go | 2 +- cli/command/trust/inspect.go | 2 +- cli/command/utils.go | 2 +- cli/command/volume/inspect.go | 2 +- cli/compose/interpolation/interpolation.go | 2 +- cli/compose/interpolation/interpolation_test.go | 2 +- cli/compose/loader/full-struct_test.go | 2 +- cli/compose/loader/interpolate.go | 2 +- cli/compose/loader/loader.go | 2 +- cli/compose/loader/loader_test.go | 2 +- cli/compose/loader/merge.go | 2 +- cli/compose/loader/merge_test.go | 2 +- cli/compose/schema/schema.go | 2 +- cli/compose/schema/schema_test.go | 2 +- cli/compose/template/template.go | 2 +- cli/compose/template/template_test.go | 2 +- cli/compose/types/types.go | 2 +- cli/context/store/metadata_test.go | 2 +- cli/context/store/metadatastore.go | 2 +- cli/context/store/store.go | 2 +- cli/context/store/store_test.go | 2 +- cli/context/store/storeconfig.go | 2 +- cli/context/store/storeconfig_test.go | 2 +- cmd/docker/builder_test.go | 2 +- templates/templates.go | 2 +- 63 files changed, 63 insertions(+), 63 deletions(-) diff --git a/cli-plugins/manager/error.go b/cli-plugins/manager/error.go index f802da1c5c..f7dc6c7c55 100644 --- a/cli-plugins/manager/error.go +++ b/cli-plugins/manager/error.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package manager diff --git a/cli/command/cli.go b/cli/command/cli.go index 468ba40bda..c63cd69fce 100644 --- a/cli/command/cli.go +++ b/cli/command/cli.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package command diff --git a/cli/command/config/inspect.go b/cli/command/config/inspect.go index 35ebbf6022..2985823f1d 100644 --- a/cli/command/config/inspect.go +++ b/cli/command/config/inspect.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package config diff --git a/cli/command/container/inspect.go b/cli/command/container/inspect.go index 223898ef89..1f404ac7ea 100644 --- a/cli/command/container/inspect.go +++ b/cli/command/container/inspect.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package container diff --git a/cli/command/context.go b/cli/command/context.go index a82c8a7d64..af2298bb50 100644 --- a/cli/command/context.go +++ b/cli/command/context.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package command diff --git a/cli/command/context/create.go b/cli/command/context/create.go index e4a5258bfa..3f2cefeabc 100644 --- a/cli/command/context/create.go +++ b/cli/command/context/create.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package context diff --git a/cli/command/context/create_test.go b/cli/command/context/create_test.go index 3a7cb23825..5d3f23fc31 100644 --- a/cli/command/context/create_test.go +++ b/cli/command/context/create_test.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package context diff --git a/cli/command/context/inspect.go b/cli/command/context/inspect.go index 20dc78a19d..7302a6e33d 100644 --- a/cli/command/context/inspect.go +++ b/cli/command/context/inspect.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package context diff --git a/cli/command/context/list.go b/cli/command/context/list.go index f2e63a59cd..83d48927ae 100644 --- a/cli/command/context/list.go +++ b/cli/command/context/list.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package context diff --git a/cli/command/context_test.go b/cli/command/context_test.go index 32766d9998..bf5ecf7dd3 100644 --- a/cli/command/context_test.go +++ b/cli/command/context_test.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package command diff --git a/cli/command/defaultcontextstore.go b/cli/command/defaultcontextstore.go index 6783c54c93..2582257680 100644 --- a/cli/command/defaultcontextstore.go +++ b/cli/command/defaultcontextstore.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package command diff --git a/cli/command/defaultcontextstore_test.go b/cli/command/defaultcontextstore_test.go index 5cedb3e96f..8f14f7e121 100644 --- a/cli/command/defaultcontextstore_test.go +++ b/cli/command/defaultcontextstore_test.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package command diff --git a/cli/command/formatter/container.go b/cli/command/formatter/container.go index 84765c73b4..aeaa03a6d3 100644 --- a/cli/command/formatter/container.go +++ b/cli/command/formatter/container.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package formatter diff --git a/cli/command/formatter/container_test.go b/cli/command/formatter/container_test.go index 7087cb92e1..8f0d5e5c31 100644 --- a/cli/command/formatter/container_test.go +++ b/cli/command/formatter/container_test.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package formatter diff --git a/cli/command/formatter/custom.go b/cli/command/formatter/custom.go index 2aec2d1d62..ee7d14830e 100644 --- a/cli/command/formatter/custom.go +++ b/cli/command/formatter/custom.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package formatter diff --git a/cli/command/formatter/formatter.go b/cli/command/formatter/formatter.go index fe64d9c1d6..4f10377255 100644 --- a/cli/command/formatter/formatter.go +++ b/cli/command/formatter/formatter.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package formatter diff --git a/cli/command/formatter/formatter_test.go b/cli/command/formatter/formatter_test.go index ab3e980a87..c0af96d302 100644 --- a/cli/command/formatter/formatter_test.go +++ b/cli/command/formatter/formatter_test.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package formatter diff --git a/cli/command/formatter/reflect.go b/cli/command/formatter/reflect.go index 3181428aab..e2c0b28f53 100644 --- a/cli/command/formatter/reflect.go +++ b/cli/command/formatter/reflect.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package formatter diff --git a/cli/command/formatter/reflect_test.go b/cli/command/formatter/reflect_test.go index 286d12cb1b..b68bad94ad 100644 --- a/cli/command/formatter/reflect_test.go +++ b/cli/command/formatter/reflect_test.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package formatter diff --git a/cli/command/formatter/volume_test.go b/cli/command/formatter/volume_test.go index 5d48d93903..3a8869eadc 100644 --- a/cli/command/formatter/volume_test.go +++ b/cli/command/formatter/volume_test.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package formatter diff --git a/cli/command/idresolver/idresolver.go b/cli/command/idresolver/idresolver.go index fc4a70787a..802ff46fe1 100644 --- a/cli/command/idresolver/idresolver.go +++ b/cli/command/idresolver/idresolver.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package idresolver diff --git a/cli/command/image/inspect.go b/cli/command/image/inspect.go index 6105f360dd..96b3bb8f4c 100644 --- a/cli/command/image/inspect.go +++ b/cli/command/image/inspect.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package image diff --git a/cli/command/image/push.go b/cli/command/image/push.go index ffa6f44fac..6abacbf71d 100644 --- a/cli/command/image/push.go +++ b/cli/command/image/push.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package image diff --git a/cli/command/inspect/inspector.go b/cli/command/inspect/inspector.go index 491408853e..d618e9214b 100644 --- a/cli/command/inspect/inspector.go +++ b/cli/command/inspect/inspector.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package inspect diff --git a/cli/command/network/formatter_test.go b/cli/command/network/formatter_test.go index 16c2768640..8a87a6760b 100644 --- a/cli/command/network/formatter_test.go +++ b/cli/command/network/formatter_test.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package network diff --git a/cli/command/network/inspect.go b/cli/command/network/inspect.go index c4996f03cc..200134befc 100644 --- a/cli/command/network/inspect.go +++ b/cli/command/network/inspect.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package network diff --git a/cli/command/node/formatter_test.go b/cli/command/node/formatter_test.go index 6e765ee97d..e86d15a760 100644 --- a/cli/command/node/formatter_test.go +++ b/cli/command/node/formatter_test.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package node diff --git a/cli/command/node/inspect.go b/cli/command/node/inspect.go index 39436e9254..3ad98ef8b1 100644 --- a/cli/command/node/inspect.go +++ b/cli/command/node/inspect.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package node diff --git a/cli/command/plugin/formatter_test.go b/cli/command/plugin/formatter_test.go index 088f8efb61..9d8b5c362c 100644 --- a/cli/command/plugin/formatter_test.go +++ b/cli/command/plugin/formatter_test.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package plugin diff --git a/cli/command/plugin/inspect.go b/cli/command/plugin/inspect.go index 2174beb69e..d910dc6e8f 100644 --- a/cli/command/plugin/inspect.go +++ b/cli/command/plugin/inspect.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package plugin diff --git a/cli/command/secret/inspect.go b/cli/command/secret/inspect.go index 8b826db72b..df448155ec 100644 --- a/cli/command/secret/inspect.go +++ b/cli/command/secret/inspect.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package secret diff --git a/cli/command/service/formatter_test.go b/cli/command/service/formatter_test.go index 2b1e19dcd9..adb09476ad 100644 --- a/cli/command/service/formatter_test.go +++ b/cli/command/service/formatter_test.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package service diff --git a/cli/command/service/inspect.go b/cli/command/service/inspect.go index cad1e708ed..fcd85c1209 100644 --- a/cli/command/service/inspect.go +++ b/cli/command/service/inspect.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package service diff --git a/cli/command/service/inspect_test.go b/cli/command/service/inspect_test.go index 2ca32713d9..cd088c77a2 100644 --- a/cli/command/service/inspect_test.go +++ b/cli/command/service/inspect_test.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package service diff --git a/cli/command/service/opts.go b/cli/command/service/opts.go index dc62cfe74d..c0a30674ec 100644 --- a/cli/command/service/opts.go +++ b/cli/command/service/opts.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package service diff --git a/cli/command/stack/loader/loader.go b/cli/command/stack/loader/loader.go index 6929b3d34e..7521d0471d 100644 --- a/cli/command/stack/loader/loader.go +++ b/cli/command/stack/loader/loader.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package loader diff --git a/cli/command/system/info.go b/cli/command/system/info.go index 29cacc47fe..aaf597cf89 100644 --- a/cli/command/system/info.go +++ b/cli/command/system/info.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package system diff --git a/cli/command/system/inspect.go b/cli/command/system/inspect.go index e815eaff7d..d4aed789b1 100644 --- a/cli/command/system/inspect.go +++ b/cli/command/system/inspect.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package system diff --git a/cli/command/telemetry_docker.go b/cli/command/telemetry_docker.go index 281ca9131b..94ab3a3929 100644 --- a/cli/command/telemetry_docker.go +++ b/cli/command/telemetry_docker.go @@ -1,5 +1,5 @@ // FIXME(jsternberg): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16: -//go:build go1.19 +//go:build go1.21 package command diff --git a/cli/command/trust/inspect.go b/cli/command/trust/inspect.go index 27c5dc304f..3de90b4e6f 100644 --- a/cli/command/trust/inspect.go +++ b/cli/command/trust/inspect.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package trust diff --git a/cli/command/utils.go b/cli/command/utils.go index 5b2cb97215..48d2c4250a 100644 --- a/cli/command/utils.go +++ b/cli/command/utils.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package command diff --git a/cli/command/volume/inspect.go b/cli/command/volume/inspect.go index 9f1561ea6f..bebc24213d 100644 --- a/cli/command/volume/inspect.go +++ b/cli/command/volume/inspect.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package volume diff --git a/cli/compose/interpolation/interpolation.go b/cli/compose/interpolation/interpolation.go index 584ade8ad6..42aefc6620 100644 --- a/cli/compose/interpolation/interpolation.go +++ b/cli/compose/interpolation/interpolation.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package interpolation diff --git a/cli/compose/interpolation/interpolation_test.go b/cli/compose/interpolation/interpolation_test.go index f33654affd..21fd359c42 100644 --- a/cli/compose/interpolation/interpolation_test.go +++ b/cli/compose/interpolation/interpolation_test.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package interpolation diff --git a/cli/compose/loader/full-struct_test.go b/cli/compose/loader/full-struct_test.go index cd3304eff3..e362041540 100644 --- a/cli/compose/loader/full-struct_test.go +++ b/cli/compose/loader/full-struct_test.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package loader diff --git a/cli/compose/loader/interpolate.go b/cli/compose/loader/interpolate.go index 2468261487..445cdeb547 100644 --- a/cli/compose/loader/interpolate.go +++ b/cli/compose/loader/interpolate.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package loader diff --git a/cli/compose/loader/loader.go b/cli/compose/loader/loader.go index 1f214a81d9..ecf86af9b3 100644 --- a/cli/compose/loader/loader.go +++ b/cli/compose/loader/loader.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package loader diff --git a/cli/compose/loader/loader_test.go b/cli/compose/loader/loader_test.go index 78be36937b..47a30ebd0e 100644 --- a/cli/compose/loader/loader_test.go +++ b/cli/compose/loader/loader_test.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package loader diff --git a/cli/compose/loader/merge.go b/cli/compose/loader/merge.go index ab33ee61ab..94c4eebcea 100644 --- a/cli/compose/loader/merge.go +++ b/cli/compose/loader/merge.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package loader diff --git a/cli/compose/loader/merge_test.go b/cli/compose/loader/merge_test.go index d0a1637498..4d145cc7df 100644 --- a/cli/compose/loader/merge_test.go +++ b/cli/compose/loader/merge_test.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package loader diff --git a/cli/compose/schema/schema.go b/cli/compose/schema/schema.go index aa8dd19bd9..b4861556a3 100644 --- a/cli/compose/schema/schema.go +++ b/cli/compose/schema/schema.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package schema diff --git a/cli/compose/schema/schema_test.go b/cli/compose/schema/schema_test.go index d3de1b9a71..2f92111305 100644 --- a/cli/compose/schema/schema_test.go +++ b/cli/compose/schema/schema_test.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package schema diff --git a/cli/compose/template/template.go b/cli/compose/template/template.go index d2d3d480df..d97e162b0e 100644 --- a/cli/compose/template/template.go +++ b/cli/compose/template/template.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package template diff --git a/cli/compose/template/template_test.go b/cli/compose/template/template_test.go index c29a26de55..0d0a92e709 100644 --- a/cli/compose/template/template_test.go +++ b/cli/compose/template/template_test.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package template diff --git a/cli/compose/types/types.go b/cli/compose/types/types.go index f2f68641d3..16417f328a 100644 --- a/cli/compose/types/types.go +++ b/cli/compose/types/types.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package types diff --git a/cli/context/store/metadata_test.go b/cli/context/store/metadata_test.go index 6bc359bf89..b37ced0345 100644 --- a/cli/context/store/metadata_test.go +++ b/cli/context/store/metadata_test.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package store diff --git a/cli/context/store/metadatastore.go b/cli/context/store/metadatastore.go index 2bb6a20e8c..0c6986fa75 100644 --- a/cli/context/store/metadatastore.go +++ b/cli/context/store/metadatastore.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package store diff --git a/cli/context/store/store.go b/cli/context/store/store.go index 45bb76ce66..44e9477fb0 100644 --- a/cli/context/store/store.go +++ b/cli/context/store/store.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package store diff --git a/cli/context/store/store_test.go b/cli/context/store/store_test.go index 8896d137d8..ad61036dbe 100644 --- a/cli/context/store/store_test.go +++ b/cli/context/store/store_test.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package store diff --git a/cli/context/store/storeconfig.go b/cli/context/store/storeconfig.go index e2905f011e..aa516a191e 100644 --- a/cli/context/store/storeconfig.go +++ b/cli/context/store/storeconfig.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package store diff --git a/cli/context/store/storeconfig_test.go b/cli/context/store/storeconfig_test.go index 36d52d2953..22d40e8521 100644 --- a/cli/context/store/storeconfig_test.go +++ b/cli/context/store/storeconfig_test.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package store diff --git a/cmd/docker/builder_test.go b/cmd/docker/builder_test.go index 797d42140c..7de2572aa2 100644 --- a/cmd/docker/builder_test.go +++ b/cmd/docker/builder_test.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package main diff --git a/templates/templates.go b/templates/templates.go index 993ac92f4c..572ece8be7 100644 --- a/templates/templates.go +++ b/templates/templates.go @@ -1,5 +1,5 @@ // 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 +//go:build go1.21 package templates