<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>lufiabb</author_name>
  <author_url>https://blog.hatena.ne.jp/lufiabb/</author_url>
  <blog_title>Plan 9とGo言語のブログ</blog_title>
  <blog_url>https://blog.lufia.org/</blog_url>
  <categories>
    <anon>Go</anon>
    <anon>Exported from Qiita</anon>
  </categories>
  <description>この記事はQiitaで公開されていました ゴルーチンで並行実行中させた処理の中で、エラーが発生した場合にどう扱うかは割と面倒です。 package main import ( &quot;io/ioutil&quot; &quot;log&quot; &quot;net/http&quot; &quot;os&quot; ) func main() { c := make(chan []byte) go func() { res, err := http.Get(&quot;http://lufia.org/&quot;) if err != nil { log.Fatal(err) } defer res.Body.Close() body, err := ioutil.ReadAll(r…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.lufia.org%2Fentry%2F2016%2F04%2F10%2F165100&quot; title=&quot;ゴルーチンで発生したエラーの返し方 - Plan 9とGo言語のブログ&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>2016-04-10 16:51:00</published>
  <title>ゴルーチンで発生したエラーの返し方</title>
  <type>rich</type>
  <url>https://blog.lufia.org/entry/2016/04/10/165100</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
