<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>lirlia</author_name>
  <author_url>https://blog.hatena.ne.jp/lirlia/</author_url>
  <blog_title>フラミナル</blog_title>
  <blog_url>https://blog.framinal.life/</blog_url>
  <categories>
    <anon>Golang</anon>
    <anon>DI</anon>
    <anon>デザインパターン</anon>
  </categories>
  <description>DIとはなにか？ Dependency Injection の略(依存性の注入) プログラミングのデザインパターンの一つ DIが嬉しいこと 猿でも分かる! Dependency Injection: 依存性の注入 - Qiita で紹介されていた例がわかりやすかったです。 要点を摘むと以下の通り。 作った車の動作テストをしたい。 いろんなテストをしたいので、無限に動くエンジンや摩耗しないタイヤなど商品には使わないけどテスト用に変更したい ただ現状は、車のパーツはすべて溶接されてしまっているのでそんな柔軟なことはできない この時にDIの考え方を入れると「車のパーツを取り外しできるようにして、必要…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.framinal.life%2Fentry%2F2021%2F08%2F18%2F013928&quot; title=&quot;GoでDIを理解してみる（コードあり） - フラミナル&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>https://cdn-ak.f.st-hatena.com/images/fotolife/l/lirlia/20210818/20210818012402.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-08-18 01:39:28</published>
  <title>GoでDIを理解してみる（コードあり）</title>
  <type>rich</type>
  <url>https://blog.framinal.life/entry/2021/08/18/013928</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
