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:
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
go-coffeeshop
☕ A practical event-driven microservices demo built with Golang. Nomad, Consul Connect, Vault, and Terraform for deployment
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
IOC-golang
一款服务于 Go 开发者的依赖注入框架,方便搭建任何 Go 应用。 A Golang depenedency injection framework, helps developers to build any go application.
-
service-pattern-go
Simple clean Go REST API architecture with dependency injection and mocking example, following SOLID principles.
-
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)
-
hiboot
hiboot is a high performance web and cli application framework with dependency injection support
-
core
Package core is a service container that elegantly bootstrap and coordinate modular twelve-factor apps in Go. (by DoNewsCode)
-
go-vertical-slice-template
A Golang boilerplate template, based on Vertical Slice Architecture and CQRS pattern with using Echo, Gorm, Zap, Viper, MediatR for CQRS and sarulabs/di for Dependency Injection.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Iris is a fast and lightweight web framework for Go that offers a rich set of features and a high-performance engine. PostgreSQL is a powerful and reliable relational database system that supports advanced data types and functions. Together, they can form a solid foundation for building modern web applications.
Project mention: I write HTTP services in Go after 13 years (Mat Ryer, 2024) | news.ycombinator.com | 2024-02-09I 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" part completely out of the equation and reduces it from an N*M problem to an N problem, ie I only have to worry about how to initialize individual pieces, not about how to synchronize initialization between them.
I've used quite a few dependency injection libraries in various languages over the years (and implemented a couple myself) and the simplicity and versatility of fx makes it my favorite so far.
Project mention: Yokai - a simple, modular and observable Go framework for backend applications. | dev.to | 2024-04-20Don't hesitate to visit the Yokai repository to find the technical documentation, starting guides and demo applications!
Project mention: go-vertical-slice-template: A Golang boilerplate template, based on Vertical Slice Architecture and CQRS pattern | /r/coolgithubprojects | 2023-06-25
Go Dependency Injection related posts
- Injeção de dependência em Go
- boot-go/boot: Configuration and dependency injection
- Gorilla,wow
- App init and graceful watch lib recommendations ?
- How normal is it to stare at your screen, getting nothing done when stuck and waiting for help?
- Question about dependency initialization
- Zerolog printing logs multiple times
-
A note from our sponsor - SaaSHub
www.saashub.com | 27 Apr 2024
Index
What are some of the best open-source Dependency Injection projects in Go? This list will help you:
Project | Stars | |
---|---|---|
1 | Iris | 24,869 |
2 | wire | 12,291 |
3 | go-clean-template | 5,918 |
4 | fx | 5,175 |
5 | go-coffeeshop | 3,925 |
6 | dig | 3,696 |
7 | do | 1,590 |
8 | IOC-golang | 1,182 |
9 | service-pattern-go | 775 |
10 | mortar | 669 |
11 | flamego | 552 |
12 | container | 531 |
13 | gongular | 503 |
14 | Flamingo | 427 |
15 | goioc/di | 337 |
16 | di | 226 |
17 | go-web | 204 |
18 | hiboot | 182 |
19 | yokai | 145 |
20 | dingo | 94 |
21 | dihedral | 76 |
22 | core | 57 |
23 | go-vertical-slice-template | 52 |
Sponsored