<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Wire on 极客老墨</title>
    <link>https://blog.hankmo.com/tags/wire/</link>
    <description>Recent content in Wire on 极客老墨</description>
    <generator>Hugo -- 0.138.0</generator>
    <language>zh-cn</language>
    <lastBuildDate>Sun, 06 Aug 2023 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://blog.hankmo.com/tags/wire/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>依赖注入库wire使用入门</title>
      <link>https://blog.hankmo.com/posts/golang/wire-use-guide/</link>
      <pubDate>Sun, 06 Aug 2023 00:00:00 +0000</pubDate>
      <guid>https://blog.hankmo.com/posts/golang/wire-use-guide/</guid>
      <description>依赖注入（Dependency injection）不是一个新概念了，早在2004年 Martin Fowler 就在其文章Inversion of Control Containers and the Dependency Injection pattern提出了依赖注入模式。在Java的世界中，随处可见依赖注入的使用，如Spring框架的核心之一就是控制反转(IoC)，而依赖注入就是 IoC 思想的一种技术实现，比如我们常用的 Spring 的注解 @Autowire，还有 Jsr250 规范定义的 @Resource 注解都实现了依赖注入。</description>
    </item>
  </channel>
</rss>
