-
Notifications
You must be signed in to change notification settings - Fork 3
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
samber/loの適用 #789
samber/loの適用 #789
Conversation
とりあえずCIの対応お願いします |
result := lo.Reduce(targets, func(acc bool, target Target, _ int) bool {
return acc && ...;
}, true)
|
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.
とりあえず、ent
フォルダ以下は自動生成されたやつなので戻して欲しいです 🙏
や、嘘か |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## v2 #789 +/- ##
==========================================
- Coverage 25.67% 25.64% -0.04%
==========================================
Files 148 148
Lines 26892 26878 -14
==========================================
- Hits 6904 6892 -12
+ Misses 19112 19110 -2
Partials 876 876 ☔ View full report in Codecov by Sentry. |
レビュー出しましたけど |
これで変更可能そうな |
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.
概ね良さそうです
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 👍
#774
lo.Reduceが使えそうといってたところはまだです。
issueでH1ronoさんが言っていたところはどう書けばいいかいまいちわからなかったです。
別のところですがここならlo.Reduce使えそうです。
Jomon/service/webhook.go
Lines 120 to 123 in 4f7fed3
以下変更できなかった
append
を示しておきます。Jomon/router/middleware.go
Lines 26 to 67 in 4f7fed3
Jomon/router/request.go
Lines 244 to 255 in 4f7fed3
Jomon/router/request.go
Lines 452 to 463 in 4f7fed3
Jomon/router/transaction_test.go
Line 803 in 4f7fed3
Jomon/router/transaction.go
Lines 185 to 229 in 4f7fed3