1
0
mirror of https://github.com/zhashkevych/go-sqlxmock.git synced 2025-06-12 21:47:29 +02:00

concurrency support, closes #20 and closes #9 and closes #15

* c600769 do not require a connection name, unique dsn is generated
* 1b20b9c update travis
* 1097b6a add comments for godoc documentation
* c142a95 fix golint reported issues
This commit is contained in:
gedi
2015-07-17 13:14:30 +03:00
parent ed4836e31d
commit a071483cba
16 changed files with 725 additions and 911 deletions

View File

@ -5,12 +5,13 @@ import (
)
type statement struct {
conn *conn
conn *Sqlmock
query string
err error
}
func (stmt *statement) Close() error {
return nil
return stmt.err
}
func (stmt *statement) NumInput() int {