1
0
mirror of https://github.com/DATA-DOG/go-sqlmock.git synced 2025-06-23 00:17:47 +02:00

add AnyArg func to provide any kind of argument matcher

This commit is contained in:
gedi
2016-02-23 11:24:34 +02:00
parent de514b7bf0
commit 2165444c8d
4 changed files with 27 additions and 16 deletions

View File

@ -8,13 +8,6 @@ import (
"sync"
)
// Argument interface allows to match
// any argument in specific way when used with
// ExpectedQuery and ExpectedExec expectations.
type Argument interface {
Match(driver.Value) bool
}
// an expectation interface
type expectation interface {
fulfilled() bool