# Functions

Cleanup is a helper function to register cleanup function for a test.
NewDBMock returns a new sql.DB and sqlmock.
NewDBMockWithClose returns a new sql.DB and sqlmock, and close it after test.