-
Notifications
You must be signed in to change notification settings - Fork 115
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
go: Refactor and cleanup code #5943
Conversation
✅ Deploy Preview for oasisprotocol-oasis-core canceled.
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5943 +/- ##
==========================================
+ Coverage 64.87% 65.20% +0.32%
==========================================
Files 627 629 +2
Lines 64306 64297 -9
==========================================
+ Hits 41719 41924 +205
+ Misses 17728 17441 -287
- Partials 4859 4932 +73 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
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.
Looks good, maybe rename commit:
-go/runtime/registry: Create history factor helper function
+go/runtime/registry: Create history factory helper function
This simplifies the code, as we only use maps for local configuration. If a more generalized configuration is needed, we can revert to using an interface.
4e1752d
to
52aebc0
Compare
Laying grounds for the main part of the hot-reloading issue and adding minor changes to the code that were found along the way.