Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite 'interface{} -> any' #1959

Merged
merged 1 commit into from
Dec 5, 2024
Merged

Rewrite 'interface{} -> any' #1959

merged 1 commit into from
Dec 5, 2024

Conversation

pietern
Copy link
Contributor

@pietern pietern commented Dec 5, 2024

Changes

The any alias for interface{} has been around since Go 1.18.

Now that we're using golangci-lint (#1953), we can lint on it.

Existing commits can be updated with:

gofmt -w -r 'interface{} -> any' .

Tests

n/a

Copy link

github-actions bot commented Dec 5, 2024

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/cli

Inputs:

  • PR number: 1959
  • Commit SHA: ad2b1565a142789fd1e7455bf18eef78c95cf7b9

Checks will be approved automatically on success.

@pietern pietern temporarily deployed to test-trigger-is December 5, 2024 09:10 — with GitHub Actions Inactive
@eng-dev-ecosystem-bot
Copy link
Collaborator

Test Details: go/deco-tests/12176599238

@pietern pietern added this pull request to the merge queue Dec 5, 2024
Merged via the queue into main with commit 6e754d4 Dec 5, 2024
11 checks passed
@pietern pietern deleted the lint-any branch December 5, 2024 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants