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

Fix/issue439 traQへのリクエストにgo-traqを使う GroupAPI #515

Merged
merged 7 commits into from
Jan 20, 2024

Conversation

Nzt3-gh
Copy link
Contributor

@Nzt3-gh Nzt3-gh commented Jan 12, 2024

infra/traq/group.go 内のtraQのAPIを呼んでいるコードをgo-traqを使うものに書き換えました。
GetAllGroupsの戻り値の型を []*traq.UserGroup から []traq.UserGroup に変えたため、この関数を使っているrepository/converter.goにも変更を加えました。

infra/traq/traq.goのdoRequestが使われている箇所がなくなりました。

@Nzt3-gh Nzt3-gh linked an issue Jan 12, 2024 that may be closed by this pull request
@ras0q
Copy link
Member

ras0q commented Jan 12, 2024

言及してくれててlintにも言われてるんですがdoRequestは使われてないので消しちゃって大丈夫です

@Nzt3-gh Nzt3-gh requested a review from ras0q January 12, 2024 13:18
Copy link
Member

@ras0q ras0q left a comment

Choose a reason for hiding this comment

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

よさそうです!

@Nzt3-gh Nzt3-gh merged commit 53cdce6 into main Jan 20, 2024
4 checks passed
@Nzt3-gh Nzt3-gh deleted the fix/issue439 branch January 20, 2024 05:54
@ras0q
Copy link
Member

ras0q commented Aug 26, 2024

HTTPClient書き換えてもらったのはこれですね
#439

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.

traQへのリクエストにgo-traqを使う
2 participants