From 1d768f8983f90abaf7065c76102312eb2ffc42a4 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sat, 8 Mar 2025 12:11:52 +0100 Subject: [PATCH] update go:build tags to go1.23 to align with vendor.mod Go maintainers started to unconditionally update the minimum go version for golang.org/x/ dependencies to go1.23, which means that we'll no longer be able to support any version below that when updating those dependencies; > all: upgrade go directive to at least 1.23.0 [generated] > > By now Go 1.24.0 has been released, and Go 1.22 is no longer supported > per the Go Release Policy (https://go.dev/doc/devel/release#policy). > > For golang/go#69095. This updates our minimum version to go1.23, as we won't be able to maintain compatibility with older versions because of the above. 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/completion.go | 2 +- cli/command/container/inspect.go | 2 +- cli/command/context.go | 2 +- cli/command/context/completion.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/displayutils.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/image/tree.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 +- cli/internal/oauth/api/api.go | 2 +- cmd/docker/builder_test.go | 2 +- internal/tui/chip.go | 2 +- internal/tui/colors.go | 2 +- internal/tui/count.go | 2 +- internal/tui/note.go | 2 +- internal/tui/output.go | 2 +- internal/tui/str.go | 2 +- templates/templates.go | 2 +- 74 files changed, 74 insertions(+), 74 deletions(-) diff --git a/cli-plugins/manager/error.go b/cli-plugins/manager/error.go index 144c11fa2841..1b5f4f60e54e 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.22 +//go:build go1.23 package manager diff --git a/cli/command/cli.go b/cli/command/cli.go index 3fcf67deb7b9..7b2bb63b588c 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.22 +//go:build go1.23 package command diff --git a/cli/command/config/inspect.go b/cli/command/config/inspect.go index 41e9a4763cde..1983857eb578 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.22 +//go:build go1.23 package config diff --git a/cli/command/container/completion.go b/cli/command/container/completion.go index e3a511899d1a..7e6846f72b5f 100644 --- a/cli/command/container/completion.go +++ b/cli/command/container/completion.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.22 +//go:build go1.23 package container diff --git a/cli/command/container/inspect.go b/cli/command/container/inspect.go index 2fc40c2eb832..6a33549ca8e2 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.22 +//go:build go1.23 package container diff --git a/cli/command/context.go b/cli/command/context.go index 404a6a13ea8b..64e88e449c4b 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.22 +//go:build go1.23 package command diff --git a/cli/command/context/completion.go b/cli/command/context/completion.go index c5c3843ee54b..701e7e4d4951 100644 --- a/cli/command/context/completion.go +++ b/cli/command/context/completion.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.22 +//go:build go1.23 package context diff --git a/cli/command/context/create.go b/cli/command/context/create.go index a3bbeeedfce3..e0bc8df83dd6 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.22 +//go:build go1.23 package context diff --git a/cli/command/context/create_test.go b/cli/command/context/create_test.go index a43404ad97f4..794f95de04d5 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.22 +//go:build go1.23 package context diff --git a/cli/command/context/inspect.go b/cli/command/context/inspect.go index be873351101b..790056587915 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.22 +//go:build go1.23 package context diff --git a/cli/command/context/list.go b/cli/command/context/list.go index af3f3afe01cf..b4258b91a302 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.22 +//go:build go1.23 package context diff --git a/cli/command/context_test.go b/cli/command/context_test.go index 8bfd89b564f5..0f216da97e61 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.22 +//go:build go1.23 package command diff --git a/cli/command/defaultcontextstore.go b/cli/command/defaultcontextstore.go index c5b310e980ec..496233ae18c2 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.22 +//go:build go1.23 package command diff --git a/cli/command/defaultcontextstore_test.go b/cli/command/defaultcontextstore_test.go index 8fb8426e4858..2acc1a9015a4 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.22 +//go:build go1.23 package command diff --git a/cli/command/formatter/container.go b/cli/command/formatter/container.go index ba62efb2f47c..71087b91d3c2 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.22 +//go:build go1.23 package formatter diff --git a/cli/command/formatter/container_test.go b/cli/command/formatter/container_test.go index fc574938300a..fd809a0acf83 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.22 +//go:build go1.23 package formatter diff --git a/cli/command/formatter/custom.go b/cli/command/formatter/custom.go index 6910a261e1cf..c2b9cb2c56a3 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.22 +//go:build go1.23 package formatter diff --git a/cli/command/formatter/displayutils.go b/cli/command/formatter/displayutils.go index ad5c2a368a86..a7520e86f22e 100644 --- a/cli/command/formatter/displayutils.go +++ b/cli/command/formatter/displayutils.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.22 +//go:build go1.23 package formatter diff --git a/cli/command/formatter/formatter.go b/cli/command/formatter/formatter.go index a0771389969a..760f77556d5d 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.22 +//go:build go1.23 package formatter diff --git a/cli/command/formatter/formatter_test.go b/cli/command/formatter/formatter_test.go index 4deb5e7f90b2..e217285a8e20 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.22 +//go:build go1.23 package formatter diff --git a/cli/command/formatter/reflect.go b/cli/command/formatter/reflect.go index fe8def610bbf..316583376153 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.22 +//go:build go1.23 package formatter diff --git a/cli/command/formatter/reflect_test.go b/cli/command/formatter/reflect_test.go index 4b736eb74ced..5ec0724901fe 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.22 +//go:build go1.23 package formatter diff --git a/cli/command/formatter/volume_test.go b/cli/command/formatter/volume_test.go index a0ab5134c9a6..212c47d499b3 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.22 +//go:build go1.23 package formatter diff --git a/cli/command/idresolver/idresolver.go b/cli/command/idresolver/idresolver.go index f73eb16e2cc2..2dcad90e0506 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.22 +//go:build go1.23 package idresolver diff --git a/cli/command/image/inspect.go b/cli/command/image/inspect.go index 0624268d0d65..5c7a41806a30 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.22 +//go:build go1.23 package image diff --git a/cli/command/image/push.go b/cli/command/image/push.go index cdef02ca10e2..71f8f110b3d9 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.22 +//go:build go1.23 package image diff --git a/cli/command/image/tree.go b/cli/command/image/tree.go index bbcea80b13c1..7c5316b3409b 100644 --- a/cli/command/image/tree.go +++ b/cli/command/image/tree.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.22 +//go:build go1.23 package image diff --git a/cli/command/inspect/inspector.go b/cli/command/inspect/inspector.go index 0e3961625116..c7be1c85ba09 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.22 +//go:build go1.23 package inspect diff --git a/cli/command/network/formatter_test.go b/cli/command/network/formatter_test.go index 660145eab3e4..ac40c2ffd488 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.22 +//go:build go1.23 package network diff --git a/cli/command/network/inspect.go b/cli/command/network/inspect.go index 73b7a79e2ef3..749d52c717f5 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.22 +//go:build go1.23 package network diff --git a/cli/command/node/formatter_test.go b/cli/command/node/formatter_test.go index 861244569765..c8e4658e7762 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.22 +//go:build go1.23 package node diff --git a/cli/command/node/inspect.go b/cli/command/node/inspect.go index 2feb8dc1386a..f293861d478b 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.22 +//go:build go1.23 package node diff --git a/cli/command/plugin/formatter_test.go b/cli/command/plugin/formatter_test.go index 438d53b02dc3..6b2f83c4b635 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.22 +//go:build go1.23 package plugin diff --git a/cli/command/plugin/inspect.go b/cli/command/plugin/inspect.go index 21ff99d9c771..9b6a453c9336 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.22 +//go:build go1.23 package plugin diff --git a/cli/command/secret/inspect.go b/cli/command/secret/inspect.go index 5559d43d383e..22fed4b6e7a1 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.22 +//go:build go1.23 package secret diff --git a/cli/command/service/formatter_test.go b/cli/command/service/formatter_test.go index a07ed4c6d85d..fcbd6d4ecff0 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.22 +//go:build go1.23 package service diff --git a/cli/command/service/inspect.go b/cli/command/service/inspect.go index e8c0130f444c..d096402b50f8 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.22 +//go:build go1.23 package service diff --git a/cli/command/service/inspect_test.go b/cli/command/service/inspect_test.go index b1da0dafaf54..d7aa42e8f9bd 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.22 +//go:build go1.23 package service diff --git a/cli/command/service/opts.go b/cli/command/service/opts.go index ca4c5f01c51f..b2211bb15568 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.22 +//go:build go1.23 package service diff --git a/cli/command/stack/loader/loader.go b/cli/command/stack/loader/loader.go index 8bf04b9aa5fb..43f227a42cd0 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.22 +//go:build go1.23 package loader diff --git a/cli/command/system/info.go b/cli/command/system/info.go index a3669802b835..9f77cf42f777 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.22 +//go:build go1.23 package system diff --git a/cli/command/system/inspect.go b/cli/command/system/inspect.go index 195b458d79da..68e41969cbd3 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.22 +//go:build go1.23 package system diff --git a/cli/command/telemetry_docker.go b/cli/command/telemetry_docker.go index 298209e2ba12..6598997d6817 100644 --- a/cli/command/telemetry_docker.go +++ b/cli/command/telemetry_docker.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.22 +//go:build go1.23 package command diff --git a/cli/command/trust/inspect.go b/cli/command/trust/inspect.go index 574a1aad7b2d..18705f519c12 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.22 +//go:build go1.23 package trust diff --git a/cli/command/utils.go b/cli/command/utils.go index 373eaa095e9b..08f96cae3654 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.22 +//go:build go1.23 package command diff --git a/cli/command/volume/inspect.go b/cli/command/volume/inspect.go index 015a8040d8e8..1105a052068b 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.22 +//go:build go1.23 package volume diff --git a/cli/compose/interpolation/interpolation.go b/cli/compose/interpolation/interpolation.go index a8c4edbd286d..c7bee693a531 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.22 +//go:build go1.23 package interpolation diff --git a/cli/compose/interpolation/interpolation_test.go b/cli/compose/interpolation/interpolation_test.go index cc7ffacabbe6..d1409f7e2adf 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.22 +//go:build go1.23 package interpolation diff --git a/cli/compose/loader/full-struct_test.go b/cli/compose/loader/full-struct_test.go index 2aa512d09726..5a11c9aed8d6 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.22 +//go:build go1.23 package loader diff --git a/cli/compose/loader/interpolate.go b/cli/compose/loader/interpolate.go index 82c36d7dcaf4..93ac9d83dd4f 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.22 +//go:build go1.23 package loader diff --git a/cli/compose/loader/loader.go b/cli/compose/loader/loader.go index e63c86e12b40..4085f2a28f74 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.22 +//go:build go1.23 package loader diff --git a/cli/compose/loader/loader_test.go b/cli/compose/loader/loader_test.go index aca348a01fbc..1f28c996ffa3 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.22 +//go:build go1.23 package loader diff --git a/cli/compose/loader/merge.go b/cli/compose/loader/merge.go index ee0a39f913d0..8c0f35db433d 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.22 +//go:build go1.23 package loader diff --git a/cli/compose/loader/merge_test.go b/cli/compose/loader/merge_test.go index 9d5a1dd6cda6..d2d45b4e0f0f 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.22 +//go:build go1.23 package loader diff --git a/cli/compose/schema/schema.go b/cli/compose/schema/schema.go index b636ea5bbf2e..1484410dad27 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.22 +//go:build go1.23 package schema diff --git a/cli/compose/schema/schema_test.go b/cli/compose/schema/schema_test.go index 8993443d9c5c..041175f20e70 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.22 +//go:build go1.23 package schema diff --git a/cli/compose/template/template.go b/cli/compose/template/template.go index 23bcb1459e3c..b823b4998d6d 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.22 +//go:build go1.23 package template diff --git a/cli/compose/template/template_test.go b/cli/compose/template/template_test.go index d3baa5cc935d..db829cd1a289 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.22 +//go:build go1.23 package template diff --git a/cli/compose/types/types.go b/cli/compose/types/types.go index 1377a79554f7..0804388a57ce 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.22 +//go:build go1.23 package types diff --git a/cli/context/store/metadata_test.go b/cli/context/store/metadata_test.go index 3d3a6606adae..baedb7735e31 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.22 +//go:build go1.23 package store diff --git a/cli/context/store/metadatastore.go b/cli/context/store/metadatastore.go index 19d68e7778c6..8f41a9c5258c 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.22 +//go:build go1.23 package store diff --git a/cli/context/store/store.go b/cli/context/store/store.go index 1895a1efb4ba..7020c7dd194d 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.22 +//go:build go1.23 package store diff --git a/cli/context/store/store_test.go b/cli/context/store/store_test.go index 0f00f4a94114..c4eaab860601 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.22 +//go:build go1.23 package store diff --git a/cli/context/store/storeconfig.go b/cli/context/store/storeconfig.go index bfd5e6fcd453..fccbf1d1f495 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.22 +//go:build go1.23 package store diff --git a/cli/context/store/storeconfig_test.go b/cli/context/store/storeconfig_test.go index da3d7e9e75a1..7d72b202ffe2 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.22 +//go:build go1.23 package store diff --git a/cli/internal/oauth/api/api.go b/cli/internal/oauth/api/api.go index 98bfdf92fe92..e41a75f41de5 100644 --- a/cli/internal/oauth/api/api.go +++ b/cli/internal/oauth/api/api.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.22 +//go:build go1.23 package api diff --git a/cmd/docker/builder_test.go b/cmd/docker/builder_test.go index eac2dc5b2356..2b24db8140a0 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.22 +//go:build go1.23 package main diff --git a/internal/tui/chip.go b/internal/tui/chip.go index bb3831094d9c..02a9b8b8bb65 100644 --- a/internal/tui/chip.go +++ b/internal/tui/chip.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.22 +//go:build go1.23 package tui diff --git a/internal/tui/colors.go b/internal/tui/colors.go index 796aa390ed77..d82d61dd74b1 100644 --- a/internal/tui/colors.go +++ b/internal/tui/colors.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.22 +//go:build go1.23 package tui diff --git a/internal/tui/count.go b/internal/tui/count.go index 319776e1bfc6..5d7ebd9444c4 100644 --- a/internal/tui/count.go +++ b/internal/tui/count.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.22 +//go:build go1.23 package tui diff --git a/internal/tui/note.go b/internal/tui/note.go index c955b8cdb462..664ba9e8dff7 100644 --- a/internal/tui/note.go +++ b/internal/tui/note.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.22 +//go:build go1.23 package tui diff --git a/internal/tui/output.go b/internal/tui/output.go index 7fc194ac1e98..1f526d3fbacf 100644 --- a/internal/tui/output.go +++ b/internal/tui/output.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.22 +//go:build go1.23 package tui diff --git a/internal/tui/str.go b/internal/tui/str.go index 490e474f5efd..c1ea9c95d3f9 100644 --- a/internal/tui/str.go +++ b/internal/tui/str.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.22 +//go:build go1.23 package tui diff --git a/templates/templates.go b/templates/templates.go index da2354cab79b..f0726eec95c5 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.22 +//go:build go1.23 package templates