<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gsf_zero1</author_name>
  <author_url>https://blog.hatena.ne.jp/gsf_zero1/</author_url>
  <blog_title>いろいろ備忘録日記</blog_title>
  <blog_url>https://devlights.hatenablog.com/</blog_url>
  <categories>
    <anon>golang</anon>
  </categories>
  <description>概要 サンプル 概要 Tour of Go の - Zero values についてのサンプル。 tour.golang.org 今回も特に気になる部分はありませんが、スライスとマップに関してはちょっと注意が必要。 スライスもマップもゼロ値はnil。なので、 nil かどうかを聞くと True ですが fmt.Printf関数とかで%vで出力するとnilとは表示されずに [] と表示されます。 %#v で表示すると []int(nil) と表示されます。 この方がわかりやすいですが、値としてはnilです。 なので、サンプルのみ サンプル package tutorial import ( &quot;f…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevlights.hatenablog.com%2Fentry%2F2019%2F10%2F29%2F195037&quot; title=&quot;Goメモ-10 (Zero values, ゼロ値, Tour of 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>2019-10-29 19:50:37</published>
  <title>Goメモ-10 (Zero values, ゼロ値, Tour of Go)</title>
  <type>rich</type>
  <url>https://devlights.hatenablog.com/entry/2019/10/29/195037</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
