Hacker GitHub

← All repos

uber-go/fx

View on GitHub ↗ ★ 7,721 Go

A dependency injection based application framework for Go.

10 mentions on Hacker News by 9 people: 1 story, 9 comments · first 2018-07-24 · latest 2025-02-19

Mentions per year 10 mentions · busiest year 2025 (3)
20082026
  1. …DI in their golang services. It’s clearly a useful pattern when working on large services. [1]: https://github.com/uber-go/fx
  2. Also https://github.com/uber-go/fx
  3. …Dependency Injection along the lines of Spring Boot. 0: https://pkg.go.dev/context#WithValue 1: https://github.com/uber-go/fx
    comment by evil-olive · 2025-02-18 · in One year after switching from Java to Go
  4. I found fx( https://github.com/uber-go/fx ) to be a super simple yet versatile tool to design my application around. All the advice in the article is still helpful, but it takes the "how do I make sure X is initialized when Y needs it"…
  5. …to make it as easy as possible to unit test. I also like the service start/stop functionality. [0] https://github.com/uber-go/fx
  6. …of concerns that enables things to be easier tested as well as prevents cyclical imports. [1] https://github.com/uber-go/fx
  7. …difficulty of distributing yet another versioned code gen tool to thousands of repositories. [0]: https://github.com/uber-go/fx/pull/837
    comment by akshayshah · 2022-02-28 · in Dependency injection in Go with Uber-go/fx
  8. …job. But the IDE having this functionality does matter. [0] https://github.com/google/wire [1] https://github.com/uber-go/fx
  9. ▲ 1
    A dependency injection based application framework for Go
    story by anandsubra · 2019-10-11 · 0 comments
  10. Doesn't replace context, and neither is it alone in terms of being a DI library, [1]. [1] https://github.com/uber-go/fx
    comment by enjoylife · 2018-07-24 · in Portable Cloud Programming with Go Cloud