Tagged articles

uber-fx

3 articles · Page 1 of 1
Golang Shines
Golang Shines
Aug 5, 2026 · Backend Development

A Rock‑Solid Go Tech Stack: Minimal Frameworks, Maximum Stability

The article explains why relying solely on the Go standard library is impractical, then presents a curated stack—Viper for config, Cobra + Viper for CLI, Uber Fx for DI, Echo for HTTP, GORM for ORM, Testify for testing, Asynq for background jobs, and Zerolog for logging—showing a real project layout, startup flow, and the stability benefits of this combination.

GORMGoasynq
0 likes · 9 min read
A Rock‑Solid Go Tech Stack: Minimal Frameworks, Maximum Stability
FunTester
FunTester
Aug 1, 2024 · Backend Development

Mastering Advanced fx Features: Invoke, Supply, Populate, and More

This article dives deep into Uber's fx dependency‑injection framework for Go, explaining advanced constructs such as fx.Invoke, fx.Supply, fx.Populate, fx.Annotated, fx.In, fx.Out, fx.Module, fx.WithLogger and fx.As, and provides complete code examples that illustrate how to manage lifecycles, inject static values, differentiate multiple implementations, and customize logging in production‑grade applications.

Gobackend developmentdependency injection
0 likes · 13 min read
Mastering Advanced fx Features: Invoke, Supply, Populate, and More
Tencent Cloud Developer
Tencent Cloud Developer
Aug 15, 2022 · Backend Development

Why Dependency Injection Matters in Go and How to Leverage Uber’s Fx Framework

This article explains the concept of dependency injection, why it is essential for Go backend services, compares manual object wiring with DI containers, reviews popular Go DI libraries, and demonstrates how to use Uber’s Fx framework (and a custom Viego framework) to simplify application initialization and lifecycle management.

Gobackend developmentdependency injection
0 likes · 11 min read
Why Dependency Injection Matters in Go and How to Leverage Uber’s Fx Framework