-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[Code Style] Appropriate suffix/prefix for interface definitions #13254
Comments
I'm not opposed to renaming interfaces that have the I think I added these way back then when I didn't know this existed. |
Should be a straightforward PR with a few global find/replace operations. I'm happy to submit a PR with the changes. Just wanted to make sure I have a 👍 to replace |
Sure @Olshansk! Thanks :) |
Sounds great :) |
This guidance is incorrect. |
Closing as per #13268 (comment) |
Various interfaces in the codebase, such as AccountKeeperI are implemented with the
I
as a postfix.I couldn't find official Golang guidelines, but this post suggests:
And Dave Cheney's Practical Go uses the same pattern:
Is it fair to assume that this is just a legacy thing someone did that stuck around or is there an explicit reason for this design pattern?
The text was updated successfully, but these errors were encountered: