<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>taiko19xx</author_name>
  <author_url>https://blog.hatena.ne.jp/taiko19xx/</author_url>
  <blog_title>チラシの裏の書き置き</blog_title>
  <blog_url>https://tech.taiko19xx.net/</blog_url>
  <categories>
    <anon>勉強</anon>
  </categories>
  <description>前回の続き。というか形になったので上げてみるテスト。 何となくぼかしてたけど、要はチャットワークのAPIを使ってメッセージを取ってくるやつです。 それっぽくなったものはこちら。それなりにエラー処理も追加したけど、まだ適当感ある。 以下感想です。 楽で良い 型推論が付いてるのは心強い deferが便利 JSONの扱いは大変 空の時はstringだけど、そうでない場合は数字が入ってくるみたいなAPIがあるので、そこの扱いをどうするか ビルドもまだそんなに遅くない log.fatal()はログ出力もしつつos.Exit(1)的なのもしてくれるんだけど、その時点で終了するというのを忘れると大変そう g…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.taiko19xx.net%2Fentry%2F2016%2F01%2F18%2F203842&quot; title=&quot;Go言語入門記(その2) - チラシの裏の書き置き&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-01-18 20:38:42</published>
  <title>Go言語入門記(その2)</title>
  <type>rich</type>
  <url>https://tech.taiko19xx.net/entry/2016/01/18/203842</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
