-
Notifications
You must be signed in to change notification settings - Fork 2
購入報告で必要なAPI作成 #923
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
購入報告で必要なAPI作成 #923
Conversation
hikahana
left a comment
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.
動作良さ。
少しコメントしてます
| func (d *divisionController) GetDivisionOptions(c echo.Context) error { | ||
| ctx := c.Request().Context() | ||
| year := c.QueryParam("year") | ||
| user_id := c.QueryParam("user_id") |
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.
| user_id := c.QueryParam("user_id") | |
| userId := c.QueryParam("user_id") |
キャメルケースにしてた気がします!
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.
| year := c.QueryParam("year") | ||
| user_id := c.QueryParam("user_id") | ||
|
|
||
| divisionDetails, err := d.u.GetDivisionOptions(ctx, year, user_id) |
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.
divisionOptions
がよさそう
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.
hikahana
left a comment
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.
対応Issue
resolve #0
概要
画面スクリーンショット等
テスト項目
備考