Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bygui86/go-uber-dig

Sample project to investigate DI in Golang provided by Uber dig library
https://github.com/bygui86/go-uber-dig

Last synced: 2 days ago
JSON representation

Sample project to investigate DI in Golang provided by Uber dig library

Awesome Lists containing this project

README

        

# Go dependency injection with Uber dig

Sample project to investigate DI in Golang provided by Uber dig library

## Run

### Sample WITHOUT dependency injection

go run no-dep-inj/main.go

### Sample WITH Dingo dependency injection

go run dig-dep-inj/main.go

---

## Links

- https://github.com/uber-go/dig
- https://medium.com/effective-development/building-better-software-in-go-with-di-faf8301a9f84