Dependency injection
Dependency injection (DI) is an implementation of the dependency inversion principle with the aim of separation of concerns by separating the depndency's implementation from the class that's using it. That kind of abstraction makes it possible to have different implementations with the same public methods so the class using it, doesn't need to care which of the implementations is used. This is also especially useful for unit testing.
There are different types of dependency injection:
Here are 291 public repositories matching this topic...
This Repo consist of a simple go application written to understand Dependency injection though Wire Package
-
Updated
Jun 1, 2023 - Go
An annotation-based tool for compile-time dependency injection in Golang.
-
Updated
Jun 5, 2023 - Go
golang DI container with generics
-
Updated
Feb 25, 2023 - Go
-
Updated
Aug 20, 2019 - Go
It is a simple dependency injection library for golang.
-
Updated
May 1, 2020 - Go
Simple clean Go REST API architecture with dependency injection and mocking example, following SOLID principles using MUX as router & GORM as orm.
-
Updated
Mar 19, 2021 - Go
Sample application written with Golang using web frameworks that would replace the ones I'm used to and love from the JVM world.
-
Updated
Sep 5, 2022 - Go
Simple Dependency Container for Go
-
Updated
Oct 17, 2023 - Go
go aop and ioc tools based on code generation
-
Updated
Feb 16, 2023 - Go
Contoh Golang Dependency Inversion Principle (DIP)
-
Updated
Jan 12, 2024 - Go
Benthos plugin that processes cloudevents and sends them downstream to a gprc handler.
-
Updated
Apr 13, 2024 - Go
Golang application for handling center configuration
-
Updated
May 2, 2024 - Go
Jin is a HTTP web framework written in Go (Golang) with a slim core but limitless extensibility.
-
Updated
Jun 1, 2024 - Go
godi is lightweight DI container library for golang
-
Updated
Oct 16, 2017 - Go
Simpler compile-time dependency injection and a runtime singleton container for go.
-
Updated
Feb 17, 2023 - Go
Tiny context-based dependency injection framework for Go.
-
Updated
Mar 23, 2022 - Go
Created by Martin Fowler
Released January 23, 2004
- Followers
- 48 followers
- Website
- martinfowler.com/articles/injection.html
- Wikipedia
- Wikipedia