Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

alexandear
Copy link
Contributor

@alexandear alexandear commented Oct 26, 2023

This PR reformats the codebase to use any instead of interface{} for consistency (by running gofmt -w -r 'interface{} -> any' .). Because any is already used in the code.
Additionally, modifies the make target gofmt_check to fail if interface{} appeared in all files excluding vendor and mocks.

@alexandear alexandear changed the title gofmt -w -r 'interface{} -> any' . all: replace 'interface{}' with 'any' Oct 26, 2023
Copy link
Member

@andrewsomething andrewsomething left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again for another great contribution!

@andrewsomething andrewsomething merged commit 516b893 into digitalocean:main Nov 29, 2023
@alexandear alexandear deleted the gofmt-replace-interface-any branch November 29, 2023 16:59
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.

2 participants