iamquang95 / GrabGoTrainingWeek5Assignment

Dependency Injection assignment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GrabGoTrainingWeek5Assignment

  1. Clone repository
  2. Adjust the code using DI so that:
    • We can have API, business, rendering logic decoupled from each others.
    • Add tests for each component (Can use https://github.com/vektra/mockery to create mocks for interfaces).
    • Create XML rendering (instead of JSON) component, that we can easily plug in or out.
  3. Submit a pull request.

About

Dependency Injection assignment

License:MIT License


Languages

Language:Go 100.0%