p.244 リスト20.24最後の行のr.Context()について #57
youta32449999
started this conversation in
Ideas
Replies: 1 comment
-
ご指摘のとおりで、処理の途中で https://github.com/budougumi0617/go_todo_app/releases/tag/v1.0.7 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
p.244 リスト20.24の最後の行が下記のようになっております。
プログラムの意味は変わりませんが、他のハンドラ同様
r.Context()
ではなくctx
を使用するのが良いと思いました。(あえてここだけ
ctx
を使用しない理由があるのかもしれないと深読みして読み進めるのが止まってしまうため)Beta Was this translation helpful? Give feedback.
All reactions