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

https://github.com/rossifedericoe/diproject

Example of REST API using Google Wire
https://github.com/rossifedericoe/diproject

dependency-injection go google-wire rest-api

Last synced: 2 months ago
JSON representation

Example of REST API using Google Wire

Awesome Lists containing this project

README

        

# diproject

# Using
* Gin Framework (https://github.com/gin-gonic/gin)
* Google Wire (https://github.com/google/wire)

# Domain
There's an "Item" entity, and a "ItemService" interface.

# DI
The gin engine is wrapped into a struct that receives all the dependencies resolved from wire.