<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>otiai10</author_name>
  <author_url>https://blog.hatena.ne.jp/otiai10/</author_url>
  <blog_title>DRYな備忘録</blog_title>
  <blog_url>https://otiai10.hatenablog.com/</blog_url>
  <categories>
    <anon>go</anon>
  </categories>
  <description>ダックタイピングって ダック・タイピング - Wikipedia 一体何さ。わからないよ 調べた golangにおけるダックタイピングとは、で一番分かりやすかったのこれ Go言語における埋め込みによるインタフェースの部分実装パターン - Qiita 2014/05/27 追記 つまり、 Go言語ではinterfaceを使った型の制限が可能で、逆にinterface定義において宣言したメソッドをすべて満たすstructを作れば、それはそのinterfaceを満たす型として扱える。これがダックタイピング。 「ダックタイピング」の名前の由来は「アヒルのように歩き、アヒルのように鳴くものはアヒルに違い…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fotiai10.hatenablog.com%2Fentry%2F2014%2F01%2F15%2F210445&quot; title=&quot;ダックタイピングって一体なんなのよ【golang】 - DRYな備忘録&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>http://cdn-ak.f.st-hatena.com/images/fotolife/o/otiai10/20140115/20140115210138.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-01-15 21:04:45</published>
  <title>ダックタイピングって一体なんなのよ【golang】</title>
  <type>rich</type>
  <url>https://otiai10.hatenablog.com/entry/2014/01/15/210445</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
