サクサク読めて、アプリ限定の機能も多数!
何となくこう使ってたけど、うん、これしかないよね……/ライブラリ自作するときだけかな。 context.Value 使うのは。
delphinus35 のブックマーク 2017/03/29 00:47
Alternative to using context.Value何となくこう使ってたけど、うん、これしかないよね……/ライブラリ自作するときだけかな。 context.Value 使うのは。2017/03/29 00:47
このブックマークにはスターがありません。 最初のスターをつけてみよう!
lestrrat.medium.com2017/03/25
I love context.Context. But I don’t like using context.Value(). Because it relies on using interface{}, it requires the programmers to write a possibly panic-inducing type assertion like this: func...
21 人がブックマーク・3 件のコメント
\ コメントが サクサク読める アプリです /
何となくこう使ってたけど、うん、これしかないよね……/ライブラリ自作するときだけかな。 context.Value 使うのは。
delphinus35 のブックマーク 2017/03/29 00:47
このブックマークにはスターがありません。
最初のスターをつけてみよう!
Alternative to using context.Value
lestrrat.medium.com2017/03/25
I love context.Context. But I don’t like using context.Value(). Because it relies on using interface{}, it requires the programmers to write a possibly panic-inducing type assertion like this: func...
21 人がブックマーク・3 件のコメント
\ コメントが サクサク読める アプリです /