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
20082026
-
…DI in their golang services. It’s clearly a useful pattern when working on large services. [1]: https://github.com/uber-go/fx
comment by 3uler · 2025-02-19 · in One year after switching from Java to Go -
Also https://github.com/uber-go/fx
comment by geitir · 2025-02-19 · in One year after switching from Java to Go -
…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 -
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"…
comment by jupp0r · 2024-02-09 · in How I write HTTP services in Go after 13 years -
…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
comment by latchkey · 2023-02-19 · in Google’s Wire: Automated Dependency Injection in Go -
…of concerns that enables things to be easier tested as well as prevents cyclical imports. [1] https://github.com/uber-go/fx
comment by latchkey · 2022-08-17 · in Learning a new language, or how I gained familiarity with Go -
…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 -
…job. But the IDE having this functionality does matter. [0] https://github.com/google/wire [1] https://github.com/uber-go/fx
comment by closeparen · 2021-05-14 · in Show HN: We wrote a book about building business applications in Go -
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