4 ms·
Mind blown example from last week: Implement the following repository interface against sqlite in Golang. The method receivers should be defined on a struct
by unboxingelf 4y ago
Mind blown example from last week:
Implement the following repository interface against sqlite in Golang. The method receivers should be defined on a struct called “repo”. <interface snippet>
The code used prepared statements and worked out of the box. I wrote unit tests to verify.