What is the best approach to have a mockable Golang web app / api structure? (To do Dependency Injection or not)
<p>Hey folks,</p> <p>What is your best way to structure an app in Go so you can still mock the dependencies and test?</p> <p>In my app I'm trying to have an internal API ( or service) layer which exposes the functionalities. Then I have a thin ...阅读全文