From 8eb66b47e3751f9af69afb3bc08b08fb00349023 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Fri, 28 Aug 2026 20:46:02 +0200 Subject: [PATCH] update minimum go version to go1.26 Signed-off-by: Sebastiaan van Stijn --- cli-plugins/hooks/hook_types.go | 2 +- cli-plugins/hooks/template.go | 2 +- cli-plugins/manager/error.go | 2 +- cli-plugins/manager/hooks.go | 2 +- cli/command/cli.go | 2 +- cli/command/config/formatter.go | 2 +- cli/command/config/inspect.go | 2 +- cli/command/container/completion.go | 2 +- cli/command/container/inspect.go | 2 +- cli/command/container/opts.go | 2 +- cli/command/container/stats.go | 2 +- cli/command/container/tty.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.go | 2 +- cli/command/formatter/volume_test.go | 2 +- cli/command/idresolver/idresolver.go | 2 +- cli/command/image/inspect.go | 2 +- cli/command/image/list.go | 2 +- cli/command/image/push.go | 2 +- cli/command/image/tree.go | 2 +- cli/command/inspect/inspector.go | 2 +- cli/command/manifest/annotate.go | 2 +- cli/command/network/formatter.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/node/update.go | 2 +- cli/command/plugin/formatter_test.go | 2 +- cli/command/plugin/inspect.go | 2 +- cli/command/secret/formatter.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/internal/genericresource/parse.go | 2 +- cli/command/service/opts.go | 2 +- cli/command/service/progress/progress.go | 2 +- cli/command/service/update.go | 2 +- cli/command/stack/loader.go | 2 +- cli/command/system/info.go | 2 +- cli/command/system/inspect.go | 2 +- cli/command/system/prune.go | 2 +- cli/command/system/pruner/pruner.go | 2 +- cli/command/telemetry_docker.go | 2 +- cli/command/utils.go | 2 +- cli/command/volume/create.go | 2 +- cli/command/volume/create_test.go | 2 +- cli/command/volume/inspect.go | 2 +- cli/compose/convert/service.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/config/configfile/file.go | 2 +- cli/config/memorystore/store.go | 2 +- cli/connhelper/connhelper.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/streams/stream.go | 2 +- cmd/docker-trust/internal/registry/config.go | 2 +- cmd/docker-trust/internal/registry/errors.go | 2 +- cmd/docker-trust/trust/inspect.go | 2 +- cmd/docker/builder_test.go | 2 +- cmd/docker/docker.go | 2 +- internal/oauth/api/api.go | 2 +- internal/registry/config.go | 2 +- internal/registry/errors.go | 2 +- internal/test/strings.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 +- internal/volumespec/volumespec.go | 2 +- opts/opts.go | 2 +- opts/swarmopts/port.go | 2 +- opts/swarmopts/port_test.go | 2 +- templates/templates.go | 2 +- vendor.mod | 2 +- 110 files changed, 110 insertions(+), 110 deletions(-) diff --git a/cli-plugins/hooks/hook_types.go b/cli-plugins/hooks/hook_types.go index c2b0b3ba4f..03ee729493 100644 --- a/cli-plugins/hooks/hook_types.go +++ b/cli-plugins/hooks/hook_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.25 +//go:build go1.26 // Package hooks defines the contract between the Docker CLI and CLI plugin hook // implementations. diff --git a/cli-plugins/hooks/template.go b/cli-plugins/hooks/template.go index eca5ce4f72..99abb9acf8 100644 --- a/cli-plugins/hooks/template.go +++ b/cli-plugins/hooks/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.25 +//go:build go1.26 package hooks diff --git a/cli-plugins/manager/error.go b/cli-plugins/manager/error.go index 6dd06405d6..5e66078b64 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.25 +//go:build go1.26 package manager diff --git a/cli-plugins/manager/hooks.go b/cli-plugins/manager/hooks.go index 9bbacb1c9c..5a3d3ebe91 100644 --- a/cli-plugins/manager/hooks.go +++ b/cli-plugins/manager/hooks.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.25 +//go:build go1.26 package manager diff --git a/cli/command/cli.go b/cli/command/cli.go index eb69b3eb73..f7f428b11b 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.25 +//go:build go1.26 package command diff --git a/cli/command/config/formatter.go b/cli/command/config/formatter.go index 8e0b296df7..9453dec77e 100644 --- a/cli/command/config/formatter.go +++ b/cli/command/config/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.25 +//go:build go1.26 package config diff --git a/cli/command/config/inspect.go b/cli/command/config/inspect.go index 1991922ed8..a7ac662900 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.25 +//go:build go1.26 package config diff --git a/cli/command/container/completion.go b/cli/command/container/completion.go index 7d4940ad26..97d32728fa 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.25 +//go:build go1.26 package container diff --git a/cli/command/container/inspect.go b/cli/command/container/inspect.go index df01341955..9ebd45016c 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.25 +//go:build go1.26 package container diff --git a/cli/command/container/opts.go b/cli/command/container/opts.go index 1af0b64546..680a84a8b5 100644 --- a/cli/command/container/opts.go +++ b/cli/command/container/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.25 +//go:build go1.26 package container diff --git a/cli/command/container/stats.go b/cli/command/container/stats.go index 9d4bfce51b..c0370f95e5 100644 --- a/cli/command/container/stats.go +++ b/cli/command/container/stats.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.25 +//go:build go1.26 package container diff --git a/cli/command/container/tty.go b/cli/command/container/tty.go index 3bf03a9906..bdb4308bdc 100644 --- a/cli/command/container/tty.go +++ b/cli/command/container/tty.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.25 +//go:build go1.26 package container diff --git a/cli/command/context.go b/cli/command/context.go index b876e225ef..153b046f57 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.25 +//go:build go1.26 package command diff --git a/cli/command/context/completion.go b/cli/command/context/completion.go index aba7d5b74b..f5ea6ad30c 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.25 +//go:build go1.26 package context diff --git a/cli/command/context/create.go b/cli/command/context/create.go index f7e62205ba..81e4418939 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.25 +//go:build go1.26 package context diff --git a/cli/command/context/create_test.go b/cli/command/context/create_test.go index a9d64e1248..4dc62b215f 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.25 +//go:build go1.26 package context diff --git a/cli/command/context/inspect.go b/cli/command/context/inspect.go index 4e9ab28222..be1300f0a8 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.25 +//go:build go1.26 package context diff --git a/cli/command/context/list.go b/cli/command/context/list.go index d0236d814f..67e9b9c660 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.25 +//go:build go1.26 package context diff --git a/cli/command/context_test.go b/cli/command/context_test.go index 421102d242..993d79a92e 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.25 +//go:build go1.26 package command diff --git a/cli/command/defaultcontextstore.go b/cli/command/defaultcontextstore.go index 54ca58d2d8..90be220155 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.25 +//go:build go1.26 package command diff --git a/cli/command/defaultcontextstore_test.go b/cli/command/defaultcontextstore_test.go index 6a4f0866f2..3a7ef5a384 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.25 +//go:build go1.26 package command diff --git a/cli/command/formatter/container.go b/cli/command/formatter/container.go index a282921a51..b65209c26c 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.25 +//go:build go1.26 package formatter diff --git a/cli/command/formatter/container_test.go b/cli/command/formatter/container_test.go index 6941d26201..07df93d9ae 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.25 +//go:build go1.26 package formatter diff --git a/cli/command/formatter/custom.go b/cli/command/formatter/custom.go index b845e191fa..80a716230b 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.25 +//go:build go1.26 package formatter diff --git a/cli/command/formatter/displayutils.go b/cli/command/formatter/displayutils.go index ef008006ff..d17b432633 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.25 +//go:build go1.26 package formatter diff --git a/cli/command/formatter/formatter.go b/cli/command/formatter/formatter.go index 01c7867f31..4beb7f56b2 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.25 +//go:build go1.26 package formatter diff --git a/cli/command/formatter/formatter_test.go b/cli/command/formatter/formatter_test.go index d07d529a8d..0c1675417d 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.25 +//go:build go1.26 package formatter diff --git a/cli/command/formatter/reflect.go b/cli/command/formatter/reflect.go index 150c01805a..bb17584209 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.25 +//go:build go1.26 package formatter diff --git a/cli/command/formatter/reflect_test.go b/cli/command/formatter/reflect_test.go index fdff3f5899..3e1e4405a6 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.25 +//go:build go1.26 package formatter diff --git a/cli/command/formatter/volume.go b/cli/command/formatter/volume.go index 75b6ad007f..d55d3677cb 100644 --- a/cli/command/formatter/volume.go +++ b/cli/command/formatter/volume.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.25 +//go:build go1.26 package formatter diff --git a/cli/command/formatter/volume_test.go b/cli/command/formatter/volume_test.go index b85a75c387..bcb4227c24 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.25 +//go:build go1.26 package formatter diff --git a/cli/command/idresolver/idresolver.go b/cli/command/idresolver/idresolver.go index 95e334535e..2ee6d2c88e 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.25 +//go:build go1.26 package idresolver diff --git a/cli/command/image/inspect.go b/cli/command/image/inspect.go index 714c7c7384..8304740866 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.25 +//go:build go1.26 package image diff --git a/cli/command/image/list.go b/cli/command/image/list.go index 59b639668c..626f06cb84 100644 --- a/cli/command/image/list.go +++ b/cli/command/image/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.25 +//go:build go1.26 package image diff --git a/cli/command/image/push.go b/cli/command/image/push.go index 78ee48d664..87e2f7dea4 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.25 +//go:build go1.26 package image diff --git a/cli/command/image/tree.go b/cli/command/image/tree.go index 31645ac236..cd053c2f4b 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.25 +//go:build go1.26 package image diff --git a/cli/command/inspect/inspector.go b/cli/command/inspect/inspector.go index 63e7b597ba..1f154c088f 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.25 +//go:build go1.26 package inspect diff --git a/cli/command/manifest/annotate.go b/cli/command/manifest/annotate.go index 231aa93062..a9507deb73 100644 --- a/cli/command/manifest/annotate.go +++ b/cli/command/manifest/annotate.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.25 +//go:build go1.26 package manifest diff --git a/cli/command/network/formatter.go b/cli/command/network/formatter.go index cbc72a7fca..574de2d5f2 100644 --- a/cli/command/network/formatter.go +++ b/cli/command/network/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.25 +//go:build go1.26 package network diff --git a/cli/command/network/formatter_test.go b/cli/command/network/formatter_test.go index 8a9635aefb..6e870373fe 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.25 +//go:build go1.26 package network diff --git a/cli/command/network/inspect.go b/cli/command/network/inspect.go index 77f55d6535..1c27650f0c 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.25 +//go:build go1.26 package network diff --git a/cli/command/node/formatter_test.go b/cli/command/node/formatter_test.go index bd378806ba..a496fafec9 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.25 +//go:build go1.26 package node diff --git a/cli/command/node/inspect.go b/cli/command/node/inspect.go index 9ae166f30b..1020c0eaf9 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.25 +//go:build go1.26 package node diff --git a/cli/command/node/update.go b/cli/command/node/update.go index 542152895c..a5f70e0274 100644 --- a/cli/command/node/update.go +++ b/cli/command/node/update.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.25 +//go:build go1.26 package node diff --git a/cli/command/plugin/formatter_test.go b/cli/command/plugin/formatter_test.go index b0098f308d..3c85846054 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.25 +//go:build go1.26 package plugin diff --git a/cli/command/plugin/inspect.go b/cli/command/plugin/inspect.go index 1b6ec03a6a..ed45605dc1 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.25 +//go:build go1.26 package plugin diff --git a/cli/command/secret/formatter.go b/cli/command/secret/formatter.go index bc7129960f..9788f1ce1e 100644 --- a/cli/command/secret/formatter.go +++ b/cli/command/secret/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.25 +//go:build go1.26 package secret diff --git a/cli/command/secret/inspect.go b/cli/command/secret/inspect.go index 165645f192..6f614c3d30 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.25 +//go:build go1.26 package secret diff --git a/cli/command/service/formatter_test.go b/cli/command/service/formatter_test.go index 4ff8b17186..024c827ec8 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.25 +//go:build go1.26 package service diff --git a/cli/command/service/inspect.go b/cli/command/service/inspect.go index 6ec3a3974b..7e56b317c8 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.25 +//go:build go1.26 package service diff --git a/cli/command/service/inspect_test.go b/cli/command/service/inspect_test.go index 24981ed2f4..2155934cc4 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.25 +//go:build go1.26 package service diff --git a/cli/command/service/internal/genericresource/parse.go b/cli/command/service/internal/genericresource/parse.go index 37305fee2b..9cbaa997af 100644 --- a/cli/command/service/internal/genericresource/parse.go +++ b/cli/command/service/internal/genericresource/parse.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.25 +//go:build go1.26 // Package genericresource is a local fork of SwarmKit's [genericresource] package, // without protobuf dependencies. diff --git a/cli/command/service/opts.go b/cli/command/service/opts.go index da83f81084..e04f392e46 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.25 +//go:build go1.26 package service diff --git a/cli/command/service/progress/progress.go b/cli/command/service/progress/progress.go index 36f5d19e46..ef191fce33 100644 --- a/cli/command/service/progress/progress.go +++ b/cli/command/service/progress/progress.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.25 +//go:build go1.26 package progress diff --git a/cli/command/service/update.go b/cli/command/service/update.go index 13af4bd746..7520b08891 100644 --- a/cli/command/service/update.go +++ b/cli/command/service/update.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.25 +//go:build go1.26 package service diff --git a/cli/command/stack/loader.go b/cli/command/stack/loader.go index 60107f7f17..7c535662ce 100644 --- a/cli/command/stack/loader.go +++ b/cli/command/stack/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.25 +//go:build go1.26 package stack diff --git a/cli/command/system/info.go b/cli/command/system/info.go index 5ae650a17c..80a21629ec 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.25 +//go:build go1.26 package system diff --git a/cli/command/system/inspect.go b/cli/command/system/inspect.go index 76cb4faaae..1912400068 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.25 +//go:build go1.26 package system diff --git a/cli/command/system/prune.go b/cli/command/system/prune.go index accbb8558d..698b6d1bb3 100644 --- a/cli/command/system/prune.go +++ b/cli/command/system/prune.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.25 +//go:build go1.26 package system diff --git a/cli/command/system/pruner/pruner.go b/cli/command/system/pruner/pruner.go index ab744c1adc..1ff393c5f0 100644 --- a/cli/command/system/pruner/pruner.go +++ b/cli/command/system/pruner/pruner.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.25 +//go:build go1.26 // Package pruner registers "prune" functions to be included as part of // "docker system prune". diff --git a/cli/command/telemetry_docker.go b/cli/command/telemetry_docker.go index 0cd37b3a1c..b262e62e21 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.25 +//go:build go1.26 package command diff --git a/cli/command/utils.go b/cli/command/utils.go index bf7638f37b..1bee68cec5 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.25 +//go:build go1.26 package command diff --git a/cli/command/volume/create.go b/cli/command/volume/create.go index dacd382d2f..5c2098e035 100644 --- a/cli/command/volume/create.go +++ b/cli/command/volume/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.25 +//go:build go1.26 package volume diff --git a/cli/command/volume/create_test.go b/cli/command/volume/create_test.go index 8992950951..7f8a2c387c 100644 --- a/cli/command/volume/create_test.go +++ b/cli/command/volume/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.25 +//go:build go1.26 package volume diff --git a/cli/command/volume/inspect.go b/cli/command/volume/inspect.go index 54a9f63ca9..98c1d78475 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.25 +//go:build go1.26 package volume diff --git a/cli/compose/convert/service.go b/cli/compose/convert/service.go index cc04bc357a..e23d782c7e 100644 --- a/cli/compose/convert/service.go +++ b/cli/compose/convert/service.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.25 +//go:build go1.26 package convert diff --git a/cli/compose/interpolation/interpolation.go b/cli/compose/interpolation/interpolation.go index 0965b436cf..78dcde79cd 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.25 +//go:build go1.26 package interpolation diff --git a/cli/compose/interpolation/interpolation_test.go b/cli/compose/interpolation/interpolation_test.go index 2401824519..a5538836e3 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.25 +//go:build go1.26 package interpolation diff --git a/cli/compose/loader/full-struct_test.go b/cli/compose/loader/full-struct_test.go index 62defa9cc3..04176bbf5a 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.25 +//go:build go1.26 package loader diff --git a/cli/compose/loader/interpolate.go b/cli/compose/loader/interpolate.go index 3eee05679e..11c44113d4 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.25 +//go:build go1.26 package loader diff --git a/cli/compose/loader/loader.go b/cli/compose/loader/loader.go index 0ddebce785..91d85cfd0a 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.25 +//go:build go1.26 package loader diff --git a/cli/compose/loader/loader_test.go b/cli/compose/loader/loader_test.go index 549d02ed73..294cec6567 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.25 +//go:build go1.26 package loader diff --git a/cli/compose/loader/merge.go b/cli/compose/loader/merge.go index 9d8da3c6d8..4b397a2bd6 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.25 +//go:build go1.26 package loader diff --git a/cli/compose/loader/merge_test.go b/cli/compose/loader/merge_test.go index 11c1e888ea..2f6b456174 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.25 +//go:build go1.26 package loader diff --git a/cli/compose/schema/schema.go b/cli/compose/schema/schema.go index 1b21bac8e5..9ea79644e6 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.25 +//go:build go1.26 package schema diff --git a/cli/compose/schema/schema_test.go b/cli/compose/schema/schema_test.go index 36fff864af..cef3d55223 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.25 +//go:build go1.26 package schema diff --git a/cli/compose/template/template.go b/cli/compose/template/template.go index 1bceadd9e3..14ba09de35 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.25 +//go:build go1.26 package template diff --git a/cli/compose/template/template_test.go b/cli/compose/template/template_test.go index 2286ef7a2f..0b2d463ebb 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.25 +//go:build go1.26 package template diff --git a/cli/compose/types/types.go b/cli/compose/types/types.go index 6a7b41fbb5..73f46aae8e 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.25 +//go:build go1.26 package types diff --git a/cli/config/configfile/file.go b/cli/config/configfile/file.go index 26e148f059..5edce29158 100644 --- a/cli/config/configfile/file.go +++ b/cli/config/configfile/file.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.25 +//go:build go1.26 package configfile diff --git a/cli/config/memorystore/store.go b/cli/config/memorystore/store.go index 44523d392b..da1e94f416 100644 --- a/cli/config/memorystore/store.go +++ b/cli/config/memorystore/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.25 +//go:build go1.26 package memorystore diff --git a/cli/connhelper/connhelper.go b/cli/connhelper/connhelper.go index 8d97a2a40b..40281a56f8 100644 --- a/cli/connhelper/connhelper.go +++ b/cli/connhelper/connhelper.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.25 +//go:build go1.26 // Package connhelper provides helpers for connecting to a remote daemon host with custom logic. package connhelper diff --git a/cli/context/store/metadata_test.go b/cli/context/store/metadata_test.go index aff5982092..8c6389894b 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.25 +//go:build go1.26 package store diff --git a/cli/context/store/metadatastore.go b/cli/context/store/metadatastore.go index 8703e1c6c0..8bada79fe5 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.25 +//go:build go1.26 package store diff --git a/cli/context/store/store.go b/cli/context/store/store.go index 2b8b5c3114..4122e07792 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.25 +//go:build go1.26 package store diff --git a/cli/context/store/store_test.go b/cli/context/store/store_test.go index 20d0ef6463..25bfd87c75 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.25 +//go:build go1.26 package store diff --git a/cli/context/store/storeconfig.go b/cli/context/store/storeconfig.go index 4b42e73779..79fb2da3f9 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.25 +//go:build go1.26 package store diff --git a/cli/context/store/storeconfig_test.go b/cli/context/store/storeconfig_test.go index 840d4ee53b..51b5758e94 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.25 +//go:build go1.26 package store diff --git a/cli/streams/stream.go b/cli/streams/stream.go index f6356ccf34..8a357718d5 100644 --- a/cli/streams/stream.go +++ b/cli/streams/stream.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.25 +//go:build go1.26 package streams diff --git a/cmd/docker-trust/internal/registry/config.go b/cmd/docker-trust/internal/registry/config.go index e753fd11af..41f8e4b5f3 100644 --- a/cmd/docker-trust/internal/registry/config.go +++ b/cmd/docker-trust/internal/registry/config.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.25 +//go:build go1.26 package registry diff --git a/cmd/docker-trust/internal/registry/errors.go b/cmd/docker-trust/internal/registry/errors.go index a9e75dbdd9..d0bdbe2e83 100644 --- a/cmd/docker-trust/internal/registry/errors.go +++ b/cmd/docker-trust/internal/registry/errors.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.25 +//go:build go1.26 package registry diff --git a/cmd/docker-trust/trust/inspect.go b/cmd/docker-trust/trust/inspect.go index c7688e50b2..fabb1d7a13 100644 --- a/cmd/docker-trust/trust/inspect.go +++ b/cmd/docker-trust/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.25 +//go:build go1.26 package trust diff --git a/cmd/docker/builder_test.go b/cmd/docker/builder_test.go index a23b52b922..9f7d67bf47 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.25 +//go:build go1.26 package main diff --git a/cmd/docker/docker.go b/cmd/docker/docker.go index 0efcc70118..aca19c76cf 100644 --- a/cmd/docker/docker.go +++ b/cmd/docker/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.25 +//go:build go1.26 package main diff --git a/internal/oauth/api/api.go b/internal/oauth/api/api.go index f0d744da3c..9526f84c99 100644 --- a/internal/oauth/api/api.go +++ b/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.25 +//go:build go1.26 package api diff --git a/internal/registry/config.go b/internal/registry/config.go index 11d6c95625..24b5eedfe3 100644 --- a/internal/registry/config.go +++ b/internal/registry/config.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.25 +//go:build go1.26 package registry diff --git a/internal/registry/errors.go b/internal/registry/errors.go index 589831bf05..20a5fca373 100644 --- a/internal/registry/errors.go +++ b/internal/registry/errors.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.25 +//go:build go1.26 package registry diff --git a/internal/test/strings.go b/internal/test/strings.go index 0532de8a03..cdf118dc09 100644 --- a/internal/test/strings.go +++ b/internal/test/strings.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.25 +//go:build go1.26 package test diff --git a/internal/tui/chip.go b/internal/tui/chip.go index 477d43103b..893046264f 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.25 +//go:build go1.26 package tui diff --git a/internal/tui/colors.go b/internal/tui/colors.go index 854e55ecd0..2b6a0f1f30 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.25 +//go:build go1.26 package tui diff --git a/internal/tui/count.go b/internal/tui/count.go index 303d650e51..05d034808d 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.25 +//go:build go1.26 package tui diff --git a/internal/tui/note.go b/internal/tui/note.go index 83f1f621e9..1e2f538d97 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.25 +//go:build go1.26 package tui diff --git a/internal/tui/output.go b/internal/tui/output.go index 1776640af5..9022e66ae8 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.25 +//go:build go1.26 package tui diff --git a/internal/tui/str.go b/internal/tui/str.go index 9d50f7bd36..819af243cd 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.25 +//go:build go1.26 package tui diff --git a/internal/volumespec/volumespec.go b/internal/volumespec/volumespec.go index fcc5aa823b..8f497714c8 100644 --- a/internal/volumespec/volumespec.go +++ b/internal/volumespec/volumespec.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.25 +//go:build go1.26 package volumespec diff --git a/opts/opts.go b/opts/opts.go index 2e0adac6e0..b944a479d8 100644 --- a/opts/opts.go +++ b/opts/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.25 +//go:build go1.26 package opts diff --git a/opts/swarmopts/port.go b/opts/swarmopts/port.go index 2ed10bb2dd..f3caf32f46 100644 --- a/opts/swarmopts/port.go +++ b/opts/swarmopts/port.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.25 +//go:build go1.26 package swarmopts diff --git a/opts/swarmopts/port_test.go b/opts/swarmopts/port_test.go index 5ccf28052c..dd224f1e4c 100644 --- a/opts/swarmopts/port_test.go +++ b/opts/swarmopts/port_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.25 +//go:build go1.26 package swarmopts diff --git a/templates/templates.go b/templates/templates.go index e156ca5751..24f29c179f 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.25 +//go:build go1.26 package templates diff --git a/vendor.mod b/vendor.mod index 0a21b03055..6d66e1f9c5 100644 --- a/vendor.mod +++ b/vendor.mod @@ -4,7 +4,7 @@ module github.com/docker/cli // There is no 'go.mod' file, as that would imply opting in for all the rules // around SemVer, which this repo cannot abide by as it uses CalVer. -go 1.25.0 +go 1.26 tool ( github.com/cpuguy83/go-md2man/v2 // for scripts/docs/generate-man.sh