DockerCLI/cli/command/formatter
Sebastiaan van Stijn f4bde68694
replace some basic uses of fmt.Sprintf()
Really tiny gains here, and doesn't significantly impact readability:

    BenchmarkSprintf
    BenchmarkSprintf-10    11528700     91.59 ns/op   32 B/op  1 allocs/op
    BenchmarkConcat
    BenchmarkConcat-10    100000000     11.76 ns/op    0 B/op  0 allocs/op

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-06-12 19:03:49 +02:00
..
tabwriter format code with gofumpt 2022-09-30 11:59:11 +02:00
testdata formatter: reduce minimum width for columns in table-view 2020-08-31 16:31:15 +02:00
buildcache.go vendor: docker v20.10.3-0.20220826112928-d2590dc3cd4f (22.06 branch) 2022-08-27 16:44:59 +02:00
container.go replace some basic uses of fmt.Sprintf() 2023-06-12 19:03:49 +02:00
container_test.go docker ps: always use --quiet, also combined with --format 2023-04-10 01:12:00 +02:00
context.go cli/command/formatter: remove deprecated KubernetesEndpoint 2023-04-01 20:36:01 +02:00
custom.go cli/command/formatter: define const for error column-headers 2022-11-28 16:28:06 +01:00
disk_usage.go remove uses of deprecated VirtualSize field 2023-04-28 14:58:53 +02:00
disk_usage_test.go format code with gofumpt 2022-09-30 11:59:11 +02:00
displayutils.go Refactor stringutils and fix docker search output form when the description has CJK character 2017-10-27 11:15:10 +08:00
displayutils_test.go format code with gofumpt 2022-09-30 11:59:11 +02:00
formatter.go cli/command/formatter: export JSONFormat const 2023-04-10 14:26:07 +02:00
formatter_test.go Added "json" as specific value for --format flag in list commands, as an alias to `{{json .}}` 2022-03-15 15:33:19 +01:00
image.go remove uses of deprecated VirtualSize field 2023-04-28 14:58:53 +02:00
image_test.go remove uses of deprecated VirtualSize field 2023-04-28 14:58:53 +02:00
reflect.go formatter package heavy refactoring 2018-10-23 17:05:44 +02:00
reflect_test.go format code with gofumpt 2022-09-30 11:59:11 +02:00
volume.go Add cluster volume support 2022-05-13 20:06:11 +02:00
volume_test.go Add cluster volume support 2022-05-13 20:06:11 +02:00