well i was hoping to see options 2 and 3 be alternative db mocking packages, but this works too to start
this looks promising package documentation but would like to see alternatives as well
please take the time and effort to dig into it before posting to reduce wait and toil in the conversation
do not do this as it adds a networked dependency to the unit test. strive for hermetic unit tests, i.e. network, input, dependency (aside from the package it is testing) free
Starting Suggestions
Go-SQLMock (This one seems like the standard) https://github.com/DATA-DOG/go-sqlmock
testify/mock package (Have not looked too deep into this one yet)
Just Use Real Database but use transactions and rollback at the end of each test
Thoughts @Lev1ty @Zack-Ren ????