databricks-cli/cmd
Denis Bilenko b273dc5942
Enable linter 'copyloopvar' and fix the issues (#2160)
## Changes
- Remove all unnecessary copies of the loop variable, it is not
necessary since Go 1.22 https://go.dev/blog/loopvar-preview
- Enable the linter that catches this issue
https://github.com/karamaru-alpha/copyloopvar

## Tests
Existing tests.
2025-01-16 11:20:50 +00:00
..
account Process all the fields in top level request object even if it contains request body (#2155) 2025-01-15 17:02:58 +01:00
api Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
auth Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
bundle Enable linter 'copyloopvar' and fix the issues (#2160) 2025-01-16 11:20:50 +00:00
configure Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
fs Consolidate test helpers for `io/fs` (#1906) 2024-11-15 15:37:21 +00:00
labs Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
root Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
sync Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
version Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
workspace Process all the fields in top level request object even if it contains request body (#2155) 2025-01-15 17:02:58 +01:00
cmd.go Upgrade Go SDK to 0.44.0 (#1679) 2024-08-15 13:23:07 +00:00