SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Go Dependency Injection Projects
-
Iris
The fastest HTTP/2 Go Web Framework. New, modern and easy to learn. Fast development with Code you control. Unbeatable cost-performance ratio :rocket:
Gerasimos Maropoulos is the author of the Iris web framework, a highly efficient and feature-rich web framework for the Go programming language. He is well-known in the programming community for his contributions to web development and his expertise in the Go language. Gerasimos has authored numerous online articles and tutorials that help developers understand and leverage the power of Go for building scalable and high-performance web applications. His work on Iris has made it one of the most popular web frameworks in the Go ecosystem, known for its simplicity, speed, and extensive feature set.
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
Wire is a compile-time dependency injection tool developed by Google. It generates Go code that manually wires dependencies before compilation, ensuring that there is no runtime overhead.
-
-
Fx is a framework built on top of Dig that provides structured dependency injection along with lifecycle management. It simplifies the setup of large applications by managing logging, dependency injection, and application startup.
-
go-coffeeshop
☕ A practical event-driven microservices demo built with Golang. Nomad, Consul Connect, Vault, and Terraform for deployment
-
Dig is a runtime dependency injection library developed by Uber. Unlike Wire, which resolves dependencies at compile time, Dig resolves them at runtime, making it more flexible but with a slight performance cost.
-
Project mention: Do: A dependency injection toolkit based on Go 1.18 Generics | news.ycombinator.com | 2024-07-24
-
Nutrient
Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers. Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.
-
IOC-golang
IOC-golang is a powerful golang dependency injection framework that provides a complete implementation of IoC containers.
-
service-pattern-go
Simple clean Go REST API architecture with dependency injection and mocking example, following SOLID principles.
-
-
We're actively working on Yokai, a simple Go framework coming with an opinionated but modular list of dependencies (like echo, viper, zerolog, grpc, ...), depending of the type of application you'd like to build.
-
-
container
A lightweight yet powerful IoC dependency injection container for the Go programming language (by golobby)
-
-
Flamingo
Flamingo Framework and Core Library. Flamingo is a go based framework to build pluggable applications. Focus is on clean architecture, maintainability and operation readiness. (by i-love-flamingo)
-
-
go-echo-templ-htmx
Go/Echo+Templ+Htmx: Full stack application using Golang's Echo framework & Templ templating language with user session management + CRUD to a SQLite database (To Do List) and HTMX in the frontend
Project mention: A minimalist password manager desktop app: a foray into Golang's Wails framework (Part 2) | dev.to | 2024-12-19The truth is that I had worked first with Vanilla Js and Vue, then with React, and even with that strange library that for many is HTMX (which I have to say that I love ❤️). But Svelte makes you fall in love from the beginning, and I have to say that it was while experimenting with Wails that I used it for the first time (and I promise to continue using it…). But as comfortable as a web framework is, we must remind backend developers that the frontend is not that easy 😀!!
-
-
-
hiboot
hiboot is a high performance web and cli application framework with dependency injection support
-
kod
A generics based dependency injection application framework for Go, supporting aspect oriented programming based on interceptors (by go-kod)
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Go Dependency Injection discussion
Go Dependency Injection related posts
-
Dependency Injection in Go: Comparing Wire, Dig, Fx & More
-
Ore: Advanced Dependency Injection Package for Go
-
Do: A dependency injection toolkit based on Go 1.18 Generics
-
@Autowired magic in SpringBoot
-
Dependency Injection: A Straightforward Implementation in Golang
-
Injeção de dependência em Go
-
boot-go/boot: Configuration and dependency injection
-
A note from our sponsor - SaaSHub
www.saashub.com | 16 Feb 2025
Index
What are some of the best open-source Dependency Injection projects in Go? This list will help you:
# | Project | Stars |
---|---|---|
1 | Iris | 25,370 |
2 | wire | 13,373 |
3 | go-clean-template | 6,424 |
4 | fx | 6,130 |
5 | go-coffeeshop | 4,194 |
6 | dig | 4,018 |
7 | do | 1,953 |
8 | IOC-golang | 1,210 |
9 | service-pattern-go | 858 |
10 | mortar | 679 |
11 | yokai | 632 |
12 | flamego | 582 |
13 | container | 570 |
14 | gongular | 502 |
15 | Flamingo | 498 |
16 | goioc/di | 363 |
17 | go-echo-templ-htmx | 256 |
18 | di | 234 |
19 | go-web | 203 |
20 | hiboot | 181 |
21 | kod | 177 |
22 | dingo | 98 |
23 | dihedral | 76 |