Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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/