What's the best dependency injection framework / methodology for Golang for the enterprise?

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

  • For big project you need DI framework, and I suggest Google Wire (https://github.com/google/wire)

  • dig

    A reflection based dependency injection toolkit for Go.

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

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

  • We’re happy with https://github.com/uber-go/fx

  • dingo

    Generated dependency injection containers in go (golang) (by sarulabs)

  • boot

    Configuration and dependency injection (by boot-go)

  • go-kit

    A standard library for microservices.

  • My company uses go-kit

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

  • Injeção de dependência em Go

    2 projects | dev.to | 28 Feb 2024
  • boot-go/boot: Configuration and dependency injection

    1 project | /r/golang | 10 Jul 2023
  • Gorilla,wow

    2 projects | /r/golang | 9 Jul 2023
  • App init and graceful watch lib recommendations ?

    4 projects | /r/golang | 26 Apr 2023
  • How normal is it to stare at your screen, getting nothing done when stuck and waiting for help?

    1 project | /r/cscareerquestions | 26 Apr 2023