github.com/data-dog/go-sqlmock (go): Package sqlmock is a mock library implementing sql driver. Which has one and only purpose - to simulate any sql driver behavior in tests, without needing a real database connection. It helps to maintain correct **TDD** workflow.  It does not require any modifications to your source code in order to test and mock database operations. Supports concurrency and multiple database mocking.  The driver allows to mock any sql driver method behavior.
Keywords: database|go|golang|mock|sql|sql-driver|tdd|testing