Dependency Injection 2021

This page summarizes the projects mentioned and recommended in the original post on /r/golang

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • wire

    Compile-time Dependency Injection for Go

  • At my workplace we use https://github.com/google/wire for dependency-injection in our backend services. I would recommend trying it out - since the dependency injection is done compile-time with code generation, it is simpler and easier to reason about, and contains less abstraction than most runtime dependency-injection frameworks.

  • rdi

  • I wrote for my needs for a long time, and then decided to open public access: https://gitlab.com/rathil/rdi

  • 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.

    InfluxDB logo
  • fx

    A dependency injection based application framework for Go. (by uber-go)

  • I use uber-go/fx in production and all my personal projects.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Question about dependency initialization

    2 projects | /r/golang | 21 Apr 2023
  • Config for production and mocking (db connections, http parsers etc)

    2 projects | /r/golang | 23 Feb 2023
  • Is it just me or does nobody really know what idiomatic Go is.

    1 project | /r/golang | 14 Jan 2023
  • Modern API design with Golang, PostgreSQL and Docker.

    2 projects | /r/golang | 21 Nov 2022
  • Go on AWS Lambda with API Gateway and AWS SAM

    1 project | /r/golang | 15 Jul 2022