Skip to content

[WIP] Feature/14 firestore service#17

Open
afxnoize wants to merge 4 commits into
developfrom
feature/14-firestore-service
Open

[WIP] Feature/14 firestore service#17
afxnoize wants to merge 4 commits into
developfrom
feature/14-firestore-service

Conversation

@afxnoize

Copy link
Copy Markdown
Owner
  • service分離
  • データ層作成
  • haikuが動く

- haikugame repository
- firestore service
- [wip] test haikugame repository
Comment thread repository/haiku.go

@afxnoize afxnoize left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/Store/Update/

Comment thread haiku.go Outdated
if !ok {
s.ChannelMessageSend(i.ChannelID, "原因不明のエラーが起きたので中断されました")
game.Status = repository.GameStatusSuspend
if err := haikuRepo.StoreGame(ctx, game); err != nil {

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updateを使うべき

Comment thread haiku.go Outdated
}); err != nil {
log.Error(err)
}
haikuRepo.StoreGame(ctx, game)

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updateを使うべき

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.

1 participant