-
Notifications
You must be signed in to change notification settings - Fork 0
Jiří Fatka edited this page Dec 16, 2025
·
2 revisions
Default workflow for Go projects.
| Tool | Default toolset |
|---|---|
| Configurator | - |
| Builder | Go |
| Runner | Go |
| Tester | Go |
| CoverageCollector | - |
| Formatter | fallback Golangci-lint, Go |
| Linter | list: Go, Golangci-lint |
| DependencyManager | Go |
| Command | Mapping |
|---|---|
cdt build |
go run |
cdt build -o <dir> |
go run -o <dir> |
cdt build <arg1> <arg2> |
go run <arg1> <arg2> |
cdt build -o <dir> <arg1> <arg2> |
go run -o <dir> <arg1> <arg2> |
| Command | Mapping |
|---|---|
cdt test |
go test ./... |
cdt test <arg1> <arg2> |
go test <arg1> <arg2> |
| Command | Mapping |
|---|---|
cdt format |
go fmt |
cdt format <arg1> <arg2> |
go fmt <arg1> <arg2> |
cdt format --check |
- |
cdt format --check <arg1> <arg2> |
- |
| Command | Mapping |
|---|---|
cdt lint |
go vet |
cdt lint <arg1> <arg2> |
go vet <arg1> <arg2> |
| Command | Mapping |
|---|---|
cdt run <arg1> |
go run <arg1> |
| Command | Mapping |
|---|---|
cdt dependency add <arg1> <arg2> |
go get <arg1> <arg2> |
cdt dependency add --dev <arg1> <arg2> |
- |
cdt dependency remove <arg1> <arg2> |
go get <arg1>@none <arg2>@none |
cdt dependency remove --dev <arg1> <arg2> |
- |
cdt dependency fetch |
go mod tidy |
cdt dependency fetch --no-dev |
- |
cdt dependency update |
go get |
cdt dependency update <arg1> <arg2> |
go get <arg1> <arg2> |
cdt dependency list |
go list -m all |
cdt dependency audit |
- |
| Command | Mapping |
|---|---|
cdt format |
golangci-lint fmt |
cdt format <arg1> <arg2> |
golangci-lint fmt <arg1> <arg2> |
cdt format --check |
golangci-lint fmt --diff |
cdt format --check <arg1> <arg2> |
golangci-lint fmt --diff <arg1> <arg2> |
| Command | Mapping |
|---|---|
cdt lint |
golangci-lint run |
cdt lint <arg1> <arg2> |
golangci-lint run <arg1> <arg2> |