dig VS wire

Compare dig vs wire and see what are their differences.

dig

A reflection based dependency injection toolkit for Go. (by uber-go)

wire

Compile-time Dependency Injection for Go (by google)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
dig wire
5 29
3,656 12,137
2.3% 2.6%
5.9 2.7
17 days ago 18 days ago
Go Go
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

dig

Posts with mentions or reviews of dig. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-28.

wire

Posts with mentions or reviews of wire. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-28.

What are some alternatives?

When comparing dig and wire you can also consider the following projects:

fx - A dependency injection based application framework for Go.

wire - Strict Runtime Dependency Injection for Golang

di - 🛠 A full-featured dependency injection container for go programming language.

gomock - GoMock is a mocking framework for the Go programming language.

do - ⚙️ A dependency injection toolkit based on Go 1.18+ Generics.

container - A lightweight yet powerful IoC dependency injection container for the Go programming language

goioc/di - Simple and yet powerful Dependency Injection for Go

wild-workouts-go-ddd-example - Go DDD example application. Complete project to show how to apply DDD, Clean Architecture, and CQRS by practical refactoring.

gocontainer - Simple Dependency Injection Container

nject - Golang type-safe dependency injection