サクサク読めて、アプリ限定の機能も多数!
channelでやりとりする値を特に使わない場合 struct{} がサイズ0でいいよ、ってことなのかな
sugyan のブックマーク 2014/07/04 14:21
The empty struct | Dave Cheney[golang]channelでやりとりする値を特に使わない場合 struct{} がサイズ0でいいよ、ってことなのかな2014/07/04 14:21
このブックマークにはスターがありません。 最初のスターをつけてみよう!
dave.cheney.net2014/07/04
Introduction This post explores the properties of my favourite Go data type, the empty struct. The empty struct is a struct type that has no fields. Here are a few examples in named and anonymous f...
16 人がブックマーク・3 件のコメント
\ コメントが サクサク読める アプリです /
channelでやりとりする値を特に使わない場合 struct{} がサイズ0でいいよ、ってことなのかな
sugyan のブックマーク 2014/07/04 14:21
このブックマークにはスターがありません。
最初のスターをつけてみよう!
The empty struct | Dave Cheney
dave.cheney.net2014/07/04
Introduction This post explores the properties of my favourite Go data type, the empty struct. The empty struct is a struct type that has no fields. Here are a few examples in named and anonymous f...
16 人がブックマーク・3 件のコメント
\ コメントが サクサク読める アプリです /