<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gsf_zero1</author_name>
  <author_url>https://blog.hatena.ne.jp/gsf_zero1/</author_url>
  <blog_title>いろいろ備忘録日記</blog_title>
  <blog_url>https://devlights.hatenablog.com/</blog_url>
  <categories>
    <anon>golang</anon>
    <anon>C#</anon>
  </categories>
  <description>概要 サンプル ついでに C# のサンプル 概要 よくやり方忘れるので、自分用にここにメモ。 WaitGroupの待ち合わせとチャネルのcloseを忘れるとGoにdeadlockって怒られるので注意。 サンプル ディレクトリを再帰的に降りていって出力するサンプル。別に非同期である必要はないのですがサンプルってことで。 以下の点を実現できるようにしています。 再帰処理が非同期で実行されている 非同期実行しているけど、結果の出力は順序を守る ioutils.ReadDir() の結果の順序を崩さない メイン処理は全部の非同期処理が終わるまできっちり待つ package async import (…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevlights.hatenablog.com%2Fentry%2F2020%2F03%2F13%2F170202&quot; title=&quot;Goメモ-65 (ゴルーチンと再帰処理の組み合わせメモ) と C#のサンプル - いろいろ備忘録日記&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-03-13 17:02:02</published>
  <title>Goメモ-65 (ゴルーチンと再帰処理の組み合わせメモ) と C#のサンプル</title>
  <type>rich</type>
  <url>https://devlights.hatenablog.com/entry/2020/03/13/170202</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
