Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bygui86/go-dep-injection
Sample project to understand dependency injection with Dingo on Golang
https://github.com/bygui86/go-dep-injection
Last synced: 2 days ago
JSON representation
Sample project to understand dependency injection with Dingo on Golang
- Host: GitHub
- URL: https://github.com/bygui86/go-dep-injection
- Owner: bygui86
- License: apache-2.0
- Created: 2020-07-18T07:47:52.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-10T06:51:25.000Z (over 3 years ago)
- Last Synced: 2024-11-08T06:07:50.389Z (about 2 months ago)
- Language: Go
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go dependency injection with Dingo
Sample project to understand dependency injection with Dingo on Golang
## Run
### Sample WITHOUT dependency injection
```shell script
go run no-dep-inj/main.go
```### Sample WITH Dingo dependency injection
```shell script
go run dingo-dep-inj/main.go
```### Sample WITH Uber-Fx dependency injection
`TODO`
```shell script
go run uberfx-dep-inj/main.go
```---
## Links
### dingo
- https://medium.com/@bykovskimichael/dingo-the-dependency-injection-framework-for-go-9b1f1d44c419
- https://github.com/i-love-flamingo/dingo### uber-fx
- https://medium.com/random-life-journal/compose-dependency-injection-with-uber-fx-300b414d9e9e
- https://github.com/uber-go/fx
- https://github.com/RainrainWu/di-practice### others
- http://dummy.restapiexample.com/