DockerCLI/cli/command/formatter
Sebastiaan van Stijn 82427d1a07
format (GoDoc) comments with Go 1.19 to prepare for go updates
Older versions of Go do not format these comments, so we can already
reformat them ahead of time to prevent gofmt linting failing once
we update to Go 1.19 or up.

Result of:

    gofmt -s -w $(find . -type f -name '*.go' | grep -v "/vendor/")

With some manual adjusting.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-07-19 19:10:16 +02:00
..
tabwriter format (GoDoc) comments with Go 1.19 to prepare for go updates 2022-07-19 19:10:16 +02:00
testdata formatter: reduce minimum width for columns in table-view 2020-08-31 16:31:15 +02:00
buildcache.go formatter package heavy refactoring 2018-10-23 17:05:44 +02:00
container.go Fix psFormat's Size handling in config file 2022-06-07 12:48:56 +02:00
container_test.go format (GoDoc) comments with Go 1.19 to prepare for go updates 2022-07-19 19:10:16 +02:00
context.go formatter: mark KubernetesEndpoint templating option as deprecated 2022-02-24 13:36:01 +01:00
custom.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
disk_usage.go vendor: github.com/docker/docker 2ed904cad7055847796433cc56ef1d1de0da868c 2022-04-30 12:01:37 +02:00
disk_usage_test.go linting: fix incorrectly formatted errors (revive) 2022-03-28 10:37:25 +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 bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-23 00:28:55 +01:00
formatter.go use our own version of text/tabwriter 2022-04-25 15:01:41 +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 Return empty string if image createdAt is zero 2019-10-29 17:15:28 -03:00
image_test.go linting: fix incorrectly formatted errors (revive) 2022-03-28 10:37:25 +02:00
reflect.go formatter package heavy refactoring 2018-10-23 17:05:44 +02:00
reflect_test.go format (GoDoc) comments with Go 1.19 to prepare for go updates 2022-07-19 19:10:16 +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