You've already forked go-sqlxmock
mirror of
https://github.com/zhashkevych/go-sqlxmock.git
synced 2025-11-29 21:57:41 +02:00
add comment to CheckNamedValue
This commit is contained in:
@@ -180,6 +180,7 @@ func (c *sqlmock) ExpectationsWereMet() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// CheckNamedValue meets https://golang.org/pkg/database/sql/driver/#NamedValueChecker
|
||||
func (c *sqlmock) CheckNamedValue(nv *driver.NamedValue) (err error) {
|
||||
nv.Value, err = c.converter.ConvertValue(nv.Value)
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user