<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nemunemu_zzz</author_name>
  <author_url>https://blog.hatena.ne.jp/nemunemu_zzz/</author_url>
  <blog_title>nemunemu_zzzの日記</blog_title>
  <blog_url>https://nemunemu-zzz.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>golangを触り始めて約3ヶ月 interface{}が便利なのでよく使います ただ最初はinterface{}の挙動がよくわかってなくて使うたびに苦戦してたのでメモメモ_φ(･_･ package main import( &quot;fmt&quot; ) func main() { Output(&quot;string&quot;) Output(100) Output(true) } func Output(x interface{}) { fmt.Println(x) } =&gt; string 100 true 特に型を宣言しなくてもなんでもこーい！なことができる すごい便利 ただ, もし受け取った関数で型がしっかりと指…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnemunemu-zzz.hateblo.jp%2Fentry%2F2018%2F03%2F22%2F000410&quot; title=&quot;golangのinterface{}の不思議 - nemunemu_zzzの日記&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>2018-03-22 00:04:10</published>
  <title>golangのinterface{}の不思議</title>
  <type>rich</type>
  <url>https://nemunemu-zzz.hateblo.jp/entry/2018/03/22/000410</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
