1
0
mirror of https://github.com/zhashkevych/go-sqlxmock.git synced 2025-11-29 21:57:41 +02:00

do not expose sql driver methods for sqlmock, give interface

This commit is contained in:
gedi
2015-08-28 11:06:14 +03:00
parent 711064c51d
commit febff80c09
7 changed files with 95 additions and 72 deletions

View File

@@ -6,7 +6,7 @@ import (
)
// used for examples
var mock = &Sqlmock{}
var mock = &sqlmock{}
func ExampleNewErrorResult() {
db, mock, _ := New()