<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gomana2</author_name>
  <author_url>https://blog.hatena.ne.jp/gomana2/</author_url>
  <blog_title>ごまなつ Blog</blog_title>
  <blog_url>https://gomana2.hatenablog.jp/</blog_url>
  <categories>
    <anon>技術系</anon>
  </categories>
  <description>Go言語の並列実行について学んだメモです。 func goroutine(s string, wg *sync.WaitGroup){ defer wg.Done() for i := 0; i &lt; 5; i++{ fmt.Println(s) } } func normal (s string){ for i := 0; i &lt; 5; i++{ fmt.Println(s) } } func main(){ var wg sync.WaitGroup wg.Add(1) go goroutine(&quot;world&quot;, &amp;wg) normal(&quot;hello&quot;) wg.Wait() } 並列実行は、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgomana2.hatenablog.jp%2Fentry%2F2019%2F05%2F23%2F171533&quot; title=&quot;go言語 並列実行入門 - ごまなつ Blog&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>2019-05-23 17:15:33</published>
  <title>go言語 並列実行入門</title>
  <type>rich</type>
  <url>https://gomana2.hatenablog.jp/entry/2019/05/23/171533</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
