<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yoppy0066</author_name>
  <author_url>https://blog.hatena.ne.jp/yoppy0066/</author_url>
  <blog_title>とりあえずphpとか</blog_title>
  <blog_url>https://kimagureneet.hatenablog.com/</blog_url>
  <categories>
    <anon>Go</anon>
  </categories>
  <description>「tour of go」の goroutineやってみた。goroutineを使うと別スレッドで処理をおこなえる。むずかしい話ではないとは思うけど自分なりにちゃんと読んだので理解した内容をメモしておく GoroutinesとChannels https://tour.golang.org/concurrency/1 https://tour.golang.org/concurrency/2まず、以下のプログラムを実行すると何も画面に表示されずに終了してしまう。理由はgoroutineでスレッドが起動する前にメイン処理が終了してしまうため。見た目の問題だけでなく、hello()の中でファイル出力…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkimagureneet.hatenablog.com%2Fentry%2F2019%2F03%2F05%2F215647&quot; title=&quot;go goroutine入門 - とりあえずphpとか&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-03-05 21:56:47</published>
  <title>go goroutine入門</title>
  <type>rich</type>
  <url>https://kimagureneet.hatenablog.com/entry/2019/03/05/215647</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
