compose/cmd/formatter
Sebastiaan van Stijn f9828dfab9 modernize some code
Results of running the modernize command, with some minor changes
afterwards (removing the `contains` and `hasStatus` helper functions);

    go install golang.org/x/tools/go/analysis/passes/modernize/cmd/modernize@latest
    modernize -fix ./...

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-02-12 15:31:35 +01:00
..
ansi.go prefer aec library over raw ANSI sequences 2025-12-15 16:36:57 +01:00
colors.go Eliminate magic number in init functions 2025-07-24 09:04:52 +02:00
consts.go fix linting issues 2025-11-16 14:54:58 +01:00
container.go go.mod: bump github.com/moby/moby/api v1.53.0, moby/client v0.2.2 2026-02-11 12:32:37 +01:00
formatter.go refactor: replace interface{} with any for clarity and modernization 2025-12-02 08:41:49 +01:00
formatter_test.go fix linting issues 2025-11-16 14:54:58 +01:00
json.go refactor: replace interface{} with any for clarity and modernization 2025-12-02 08:41:49 +01:00
logs.go go.mod: bump github.com/moby/moby/api v1.53.0, moby/client v0.2.2 2026-02-11 12:32:37 +01:00
pretty.go
shortcut.go modernize some code 2026-02-12 15:31:35 +01:00
shortcut_unix.go make CTRL+Z a no-op operation on Windows 2025-10-17 15:07:37 +02:00
shortcut_windows.go Test to check writeComposeFile detects invalid OCI artifact 2025-10-22 20:09:32 +02:00