Skip to content
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

予約確定機能 #22

Merged
merged 3 commits into from
Sep 23, 2023
Merged

予約確定機能 #22

merged 3 commits into from
Sep 23, 2023

Conversation

TT-RR
Copy link
Contributor

@TT-RR TT-RR commented Sep 23, 2023

変更の概要

#12

なぜこの変更をするのか

参加者全員が回答したら代表者に通知を送るため

やったこと

entity/event.go

Event,EventRequest構造体の拡張

controller/event.go

CreateAnswer関数にSendMail関数へ行く処理の追加

usecase/event.go

CreateUserAnswer関数にユーザーの回答数を数えるFetchUserAnswerCount関数へ行く処理の追加

repository/event.go

FetchUserAnswerCount関数の追加

課題

ブランチが違うことによるcontroller/event.goの「SendMail関数がありません」エラー

@github-actions

This comment has been minimized.

@TAK848 TAK848 merged commit ea04cf7 into main Sep 23, 2023
@github-actions
Copy link

Code Metrics Report

main (3e88cde) #22 (a4d1986) +/-
Coverage 48.6% 49.5% +0.9%
Code to Test Ratio 1:0.0 1:0.0 -0.0
Test Execution Time 58s 58s 0s
Details
  |                     | main (3e88cde) | #22 (a4d1986) |  +/-  |
  |---------------------|----------------|---------------|-------|
+ | Coverage            |          48.6% |         49.5% | +0.9% |
  |   Files             |              5 |             5 |     0 |
  |   Lines             |            107 |           105 |    -2 |
  |   Covered           |             52 |            52 |     0 |
- | Code to Test Ratio  |          1:0.0 |         1:0.0 |  -0.0 |
  |   Code              |          13353 |         13447 |   +94 |
  |   Test              |            107 |           107 |     0 |
  | Test Execution Time |            58s |           58s |    0s |

Code coverage of files in pull request scope (0.0% → 0.0%)

Files Coverage +/-
main.go 0.0% 0.0%

Reported by octocov

@TAK848 TAK848 deleted the feature/EventNotifyReservation branch February 23, 2024 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants