DATA-DOG/go-sqlmock — pull request #10 by wongak (2014-10-15 12:30:36+00:00)
Title: introduce MockConn type, which represents isolated connections

Hi, this is an attempt to isolate connections for parallel testing. Coincidentally I had to solve this issue for myself as well.

Since the `sql.Open()` does a whole lot more than just passing a `driver.Conn` I had to identify instances using IDs and passing them in the DSN.

Should help with #9