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
- Host: GitHub
- URL: https://github.com/rossifedericoe/diproject
- Owner: rossifedericoe
- Created: 2019-08-21T12:24:49.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-21T12:33:46.000Z (almost 6 years ago)
- Last Synced: 2025-01-28T19:47:15.567Z (4 months ago)
- Topics: dependency-injection, go, google-wire, rest-api
- Language: Go
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.