<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dentsusoken</author_name>
  <author_url>https://blog.hatena.ne.jp/dentsusoken/</author_url>
  <blog_title>電通総研 テックブログ</blog_title>
  <blog_url>https://tech.dentsusoken.com/</blog_url>
  <categories>
    <anon>go</anon>
    <anon>金融ソリューション事業部</anon>
  </categories>
  <description>こんにちは。電通国際情報サービス(ISID) 金融ソリューション事業部の水野です。 go言語で開発しているプロジェクトで、DIを導入する機会があったので紹介します。 開発環境 Visual Studio Code 1.64.2 go 1.17.8 なぜDIが必要なのか goと言えば go generateに典型的な自動生成をイメージされる方が多く、他の言語で良く使用されるDIコンテナとは縁が薄いと思われる方も多いのではないでしょうか。 私も実はそう考えていたクチですが、依存性を切り離して状況に応じて必要な実装をInjection（注入）するというアーキテクチャは、言語を問わず有用であるケースは…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.dentsusoken.com%2Fentry%2F2022%2F03%2F21%2Fgo%25E3%2581%25A7DI%25E3%2582%2592%25E4%25BD%25BF%25E3%2581%2586&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/I/ISID/20220311/20220311122106.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-03-21 08:00:00</published>
  <title>goでDIを使う</title>
  <type>rich</type>
  <url>https://tech.dentsusoken.com/entry/2022/03/21/go%E3%81%A7DI%E3%82%92%E4%BD%BF%E3%81%86</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
