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, easy to learn. Fast development with Code you control. Unbeatable cost-performance ratio :leaves: :rocket: | 谢谢 | #golang
Iris
-
Project mention: Is it just me or does nobody really know what idiomatic Go is. | reddit.com/r/golang | 2023-01-14
-
InfluxDB
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
-
I've been studying evrone's go clean template repository (https://github.com/evrone/go-clean-template), and I think this is a great starting point for anyone trying to structure their projects according to clean architecture principles. (at least it was for me, it led me to a lot of great resources and reading materials)
-
Project mention: my office want to migrate to go programming language, what framework is recommended between chi or fiber? | reddit.com/r/golang | 2023-01-02
I've been looking into fx by Uber. Looks pretty cool, but I haven't had the chance to do anything more than a hello, world with it.
-
Project mention: What's the best dependency injection framework / methodology for Golang for the enterprise? | reddit.com/r/golang | 2022-12-21
Interesting, one of my friends works at a big tech company and they said they passed on Wire and ultimately decided on Uber Dig https://github.com/uber-go/dig. But looking at that lib it seems a bit anti-paradigm of the goal of the Golang language (no magic/obfuscated code running in the background, what you see is what you get style coding)
-
IOC-golang
一款服务于 Go 开发者的依赖注入框架,方便搭建任何 Go 应用。 A Golang depenedency injection framework, helps developers to build any go application.
It looks like IoC frameworks do exist for Go (https://github.com/alibaba/IOC-golang for example). I'm sure the True Gosman would not use this but it exists nonetheless. It looks like there are some heretics in the community - how shall we exile these vile peoples?
-
Project mention: Genjector: Reflection-free Run-Time Dependency Injection framework for Go 1.18+ | reddit.com/r/golang | 2022-10-17
How does this compare with https://github.com/samber/do ?
-
SonarQube
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
-
service-pattern-go
Simple clean Go REST API architecture with dependency injection and mocking example, following SOLID principles.
Project mention: Question about the service pattern and data racing in Go | reddit.com/r/golang | 2022-05-26Repo for reference: https://github.com/irahardianto/service-pattern-go
-
-
Project mention: Learning a new language, or how I gained familiarity with Go | news.ycombinator.com | 2022-08-17
-
Project mention: Is it possible to write a well-typed controller/handler in Go? | reddit.com/r/golang | 2022-06-30
Flamego and it's predecessor Macaron also allow a lot of flexibility in the handler definition.
-
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.
-
-
-
hiboot
hiboot is a high performance web and cli application framework with dependency injection support
-
-
Project mention: What's the best dependency injection framework / methodology for Golang for the enterprise? | reddit.com/r/golang | 2022-12-21
-
Project mention: Ask HN: Cool side project you have written using Golang | news.ycombinator.com | 2023-02-02
I wrote Dihedral, a compile-time dependency injection framework for Go [0]. It was inspired by the Java framework Dagger. It worked pretty well, but was a little clunky with Go's syntax. Ultimately, decided it wasn't worth it given the simplicity of manually constructing Go objects in a service setting.
-
core
Package core is a service container that elegantly bootstrap and coordinate modular twelve-factor apps in Go. (by DoNewsCode)
-
-
Project mention: ControllerBus: framework for modular Go programs w/ Protobuf config & Controllers | reddit.com/r/ApertureRobotics | 2022-10-18
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Go Dependency Injection related posts
- Ask HN: Cool side project you have written using Golang
- Is it just me or does nobody really know what idiomatic Go is.
- What's the best dependency injection framework / methodology for Golang for the enterprise?
- What is the proper (or conventional) way to deal with the fact that interface type parameters to a function can be nil?
- Microservices with clean architecture
- Modern API design with Golang, PostgreSQL and Docker.
- How does Uber Fx Shutdowner Interface work?
-
A note from our sponsor - #<SponsorshipServiceOld:0x00007fea5b811c60>
www.saashub.com | 4 Feb 2023
Index
What are some of the best open-source Dependency Injection projects in Go? This list will help you:
Project | Stars | |
---|---|---|
1 | Iris | 23,502 |
2 | wire | 9,908 |
3 | go-clean-template | 4,702 |
4 | fx | 3,508 |
5 | dig | 2,955 |
6 | IOC-golang | 990 |
7 | do | 794 |
8 | service-pattern-go | 685 |
9 | mortar | 642 |
10 | gongular | 476 |
11 | flamego | 439 |
12 | container | 420 |
13 | Flamingo | 351 |
14 | goioc/di | 235 |
15 | go-web | 194 |
16 | hiboot | 180 |
17 | di | 167 |
18 | dingo | 85 |
19 | dihedral | 77 |
20 | core | 56 |
21 | wire | 37 |
22 | controllerbus | 37 |
23 | linker | 36 |