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

https://github.com/medmes/fx-go

a Dependency Injection Demo in Go using Uber/fx
https://github.com/medmes/fx-go

configs dependency-injection fx golang logging microservice uber uber-go

Last synced: about 1 year ago
JSON representation

a Dependency Injection Demo in Go using Uber/fx

Awesome Lists containing this project

README

          

# fx-go
This demo is for purpose to show how to manage dependency injection in Go using **uber/fx** framework, which use reflection based toolkit [uber/dig](https://github.com/uber-go/dig).

## Quick Start
### Developement
Before you can build this project, you must install and configure the following dependencies on your machine:
1. [Install Go](install-go.md): Install Golang in your machine.
2. Download dependencies using ``` go get ```

Build and Run the following command to start
```
go build
```
```
./fx-go
```

## More details
Learn [more about Uber/fx framework](https://github.com/uber-go/fx).

Golang [official webbsite](https://golang.org/).