DockerCLI/cli/command/secret
Sebastiaan van Stijn 7c80e4f938
update go:build tags to use go1.22
commit 4a7b04d412 configured golangci-lint
to use go1.23 semantics, which enabled the copyloopvar linter.

go1.22 now creates a copy of variables when assigned in a loop; make sure we
don't have files that may downgrade semantics to go1.21 in case that also means
disabling that feature; https://go.dev/ref/spec#Go_1.22

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-11-12 12:38:18 +01:00
..
testdata formatter: reduce minimum width for columns in table-view 2020-08-31 16:31:15 +02:00
client_test.go cli/command/secret: fakeClient: include context in fake client (revive) 2023-03-30 17:22:00 +02:00
cmd.go cli/command: use shallower interface for completions 2024-06-04 12:04:11 +02:00
create.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
create_test.go test spring-cleaning 2024-07-04 01:35:12 +02:00
formatter.go linting: Consider pre-allocating sliceVar (prealloc) 2023-11-20 16:02:16 +01:00
formatter_test.go cli/command: remove redundant capturing of loop vars in tests (copyloopvar) 2024-11-05 10:14:30 +01:00
inspect.go update go:build tags to use go1.22 2024-11-12 12:38:18 +01:00
inspect_test.go cli/command: remove redundant capturing of loop vars in tests (copyloopvar) 2024-11-05 10:14:30 +01:00
ls.go cli/command: don't use pflags.XXXVarP for flags without shorthand 2024-01-29 11:16:38 +01:00
ls_test.go test spring-cleaning 2024-07-04 01:35:12 +02:00
remove.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
remove_test.go cli: improve argument validation output 2024-07-05 03:35:14 +02:00