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

第2回 #28

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

第2回 #28

wants to merge 5 commits into from

Conversation

brqnko
Copy link
Collaborator

@brqnko brqnko commented May 25, 2024

No description provided.

@brqnko brqnko changed the title add: 第2回 第2回 May 25, 2024
Copy link
Collaborator

@yuorei yuorei left a comment

Choose a reason for hiding this comment

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

LGTM


r.GET("/tweets/:id", func(c *gin.Context) {
id, err := strconv.Atoi(c.Param("id")) // URLの:idを取得

Copy link
Collaborator

Choose a reason for hiding this comment

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

細かいところだけどこ改行ない方がいいかも。Atoiのエラーに対して下のifは処理をしているから

@yuorei yuorei added the LGTM label May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants