You've already forked go-sqlxmock
mirror of
https://github.com/zhashkevych/go-sqlxmock.git
synced 2025-06-12 21:47:29 +02:00
* 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:
@ -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 {
|
||||
|
Reference in New Issue
Block a user