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

https://github.com/perbu/interfjas

Just a PoC on how to mock a database repo package in a Go project.
https://github.com/perbu/interfjas

Last synced: over 1 year ago
JSON representation

Just a PoC on how to mock a database repo package in a Go project.

Awesome Lists containing this project

README

          

# Interface playground

Just some PoC code to see how you can mock a database access layer.

The code in main will instantiate a repo and a mocked repo. It then
queries both. The mocked repo works by implementing the same interface.