<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aereal</author_name>
  <author_url>https://blog.hatena.ne.jp/aereal/</author_url>
  <blog_title>Sexually Knowing</blog_title>
  <blog_url>https://this.aereal.org/</blog_url>
  <categories>
  </categories>
  <description>結論 実装ではなくインターフェースに依存させる Goのinterfaceは実装の明示が必要ないので便利 aws-sdk-goのスタブ 外部ライブラリの例としてaws-sdk-goを使ったこういったコード例を考える: type CertificateFetcher struct { client *dynamodb.Client } func New(client *dynamodb.Client) *CertificateFetcher { return &amp;CertificateFetcher{client: client} } func (f *CertificateFetcher) Get…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthis.aereal.org%2Fentry%2F2018%2F03%2F23%2F195216&quot; title=&quot;Go: 外部ライブラリを使ったコードをいいかんじにDIしてテストする話 - Sexually Knowing&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-23 19:52:16</published>
  <title>Go: 外部ライブラリを使ったコードをいいかんじにDIしてテストする話</title>
  <type>rich</type>
  <url>https://this.aereal.org/entry/2018/03/23/195216</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
