Compile-time Dependency Injection for Go
Op’s pattern is not ideal. It certainly degrades testability. Check out https://github.com/google/wire Wire provides DI by being an initialization helper via code generation.
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.
Go on AWS Lambda with API Gateway and AWS SAM
1 project | reddit.com/r/golang | 15 Jul 2022
Generic-friendly DI library
2 projects | reddit.com/r/golang | 22 May 2022
How do you do dependency injection in go?
2 projects | reddit.com/r/golang | 6 May 2022
Building a REST API with GO, Gin framework, and GORM.
3 projects | reddit.com/r/golang | 25 Apr 2022
Dependency injection in Go with uber-go/fx
1 project | reddit.com/r/golang | 27 Feb 2022