-
Notifications
You must be signed in to change notification settings - Fork 12
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
Reorganize common folder #235
Conversation
Codecov Report
@@ Coverage Diff @@
## main #235 +/- ##
==========================================
+ Coverage 46.44% 47.57% +1.13%
==========================================
Files 13 11 -2
Lines 773 763 -10
==========================================
+ Hits 359 363 +4
+ Misses 405 391 -14
Partials 9 9
Continue to review full report at Codecov.
|
fixes #123 |
transaction/transactor.go
Outdated
// keep track of incoming requests and their corresponding responses | ||
func TransactionLogging(reducedLoggingResponseCodes []int, logger kitlog.Logger) kithttp.ServerFinalizerFunc { | ||
func Logging(reducedLoggingResponseCodes []int, logger kitlog.Logger) kithttp.ServerFinalizerFunc { |
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.
Logging is kind of weird, since normally our function verbs are more direct.
func Logging(reducedLoggingResponseCodes []int, logger kitlog.Logger) kithttp.ServerFinalizerFunc { | |
func Log(reducedLoggingResponseCodes []int, logger kitlog.Logger) kithttp.ServerFinalizerFunc { |
I also think the logger parameter should be first, but not sure that this pr is a good place to do that.
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.
I created a ticket for moving the parameter. I've applied the syntax to this pr!
#236
SonarCloud Quality Gate failed. |
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.
🥳
No description provided.