8000 update minimum go version to go1.23 by thaJeztah · Pull Request #5868 · docker/cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

update minimum go version to go1.23 #5868

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli-plugins/manager/error.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/cli.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/config/inspect.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/container/completion.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/container/inspect.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/context.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/context/completion.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/context/create.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/context/create_test.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/context/inspect.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/context/list.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/context_test.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/defaultcontextstore.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/defaultcontextstore_test.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/formatter/container.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/formatter/container_test.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/formatter/custom.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/formatter/displayutils.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/formatter/formatter.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/formatter/reflect.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/formatter/reflect_test.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/formatter/volume_test.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/idresolver/idresolver.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/image/inspect.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/image/push.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/image/tree.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/inspect/inspector.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/network/formatter_test.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/network/inspect.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/node/formatter_test.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/node/inspect.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/plugin/formatter_test.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/plugin/inspect.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/secret/inspect.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/service/formatter_test.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/service/inspect.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/service/inspect_test.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/service/opts.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/stack/loader/loader.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/system/info.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/system/inspect.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/telemetry_docker.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/trust/inspect.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/utils.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/command/volume/inspect.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/compose/interpolation/interpolation.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/compose/interpolation/interpolation_test.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/compose/loader/full-struct_test.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/compose/loader/interpolate.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
10000
2 changes: 1 addition & 1 deletion cli/compose/loader/loader.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/compose/loader/loader_test.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/compose/loader/merge.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/compose/loader/merge_test.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/compose/schema/schema.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/compose/schema/schema_test.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/compose/template/template.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
Loading
Loading
0