<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuyanari</author_name>
  <author_url>https://blog.hatena.ne.jp/yuyanari/</author_url>
  <blog_title>天空のたぐちゃんラボ</blog_title>
  <blog_url>https://taglibrary.hatenablog.com/</blog_url>
  <categories>
    <anon>プログラミング-Go Lang</anon>
    <anon>プログラミング</anon>
    <anon>Go Lang</anon>
    <anon>IT</anon>
    <anon>Java</anon>
    <anon>c#</anon>
  </categories>
  <description>【Go言語】Java/C#エンジニアが最初に戸惑う case msg, ok := &lt;-ch の正体を解剖する 1. 全体像：これは「ノンブロッキングなキューの監視」 2. 構文の徹底分解 &lt;-c.send （受信） message （値の受け取り） ok （最重要：生存確認フラグ） := （短縮変数宣言） 3. なぜ ok が必要なのか？（Java/C#との違い） Java/C#脳 vs Go脳 4. 具体的なコード比較 C# の場合 (BlockingCollection) Go の場合 (Comma-ok パターン) まとめ 【Go言語】Java/C#エンジニアが最初に戸惑う case …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftaglibrary.hatenablog.com%2Fentry%2F2025%2F12%2F05%2F125546&quot; title=&quot;【Go言語】【カンマ OK イディオム】Java/C#エンジニアが最初に戸惑う `case msg, ok := &amp;lt;-ch`（キューの監視） の正体を解剖する - 天空のたぐちゃんラボ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/y/yuyanari/20251205/20251205123859.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-12-05 12:55:46</published>
  <title>【Go言語】【カンマ OK イディオム】Java/C#エンジニアが最初に戸惑う `case msg, ok := &lt;-ch`（キューの監視） の正体を解剖する</title>
  <type>rich</type>
  <url>https://taglibrary.hatenablog.com/entry/2025/12/05/125546</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
