-
Notifications
You must be signed in to change notification settings - Fork 20.1k
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
eth: split api.go into namespace based files #27263
Conversation
I'm a bit torn here. One one hand I agree with the proposal (though I'd like the file names to be |
Renamed the file names, please take another look :) |
I agree with the general change in this PR, but please do not modify anything when doing the split. |
Signed-off-by: jsvisa <delweng@gmail.com>
Signed-off-by: jsvisa <delweng@gmail.com>
Signed-off-by: jsvisa <delweng@gmail.com>
Signed-off-by: jsvisa <delweng@gmail.com>
Signed-off-by: jsvisa <delweng@gmail.com>
This reverts commit b75a1298ffd3dc3c28d54ad6c62e4cca6e595af0. Signed-off-by: jsvisa <delweng@gmail.com>
Signed-off-by: jsvisa <delweng@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This change splits up the multiple API functions / namespaces currently defined in the eth package into different per-namespace files.
This reverts commit 6d43377.
This reverts commit 6d43377.
The current module has multiple API functions all in one file called
api.go
. It can be difficult for developers to find the implementation of a specific interface. To make it easier, consider splittingapi.go
into namespace-based file names.