<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pospome</author_name>
  <author_url>https://blog.hatena.ne.jp/pospome/</author_url>
  <blog_title>pospomeのプログラミング日記</blog_title>
  <blog_url>https://www.pospome.work/</blog_url>
  <categories>
    <anon>GCP</anon>
  </categories>
  <description>ちょっとまとめておこうかと。間違っているところがあったらブログのコメント or twitter で教えてください。 (´・ω・`)Datastore では Get() に指定した key の entity が存在しない場合、 datastore.ErrNoSuchEntity というエラーが発生する。 ＊データが存在しないとエラーになるのはちょっとビックリしました。なので、以下のようなエラーハンドリングは正常に動作しない。 entity が存在しない場合は datastore.ErrNoSuchEntity が発生するので、 最初の if err != nil で引っかかってしまう。 if e…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.pospome.work%2Fentry%2F2017%2F03%2F15%2F204132&quot; title=&quot;Datastore/Go の Get(), GetMulti() で指定した key が存在しない場合はエラーになる - pospomeのプログラミング日記&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>2017-03-15 20:41:32</published>
  <title>Datastore/Go の Get(), GetMulti() で指定した key が存在しない場合はエラーになる</title>
  <type>rich</type>
  <url>https://www.pospome.work/entry/2017/03/15/204132</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
