You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I've decided to leave this to users. There are many types of data, which could be translated using reflect and whatever. If the library starts to implement those, it will never finish and will start to conflict in implementation wanted.
So I suggest you to have your own method like AppendRow(rows *sqlmock.Rows, args ...interface{}) under the hood you just call rows.AddRow(argsTranslatedWhicheverWayYouPrefer ...driver.Value)
The reason why I do not want to support any time.Time translations in sqlmock is that databases support custom formats and sqlmock cannot know which one you actually prefer
Hey!
Related to #1
Is this #1 not resolved? I do not see RowFromInterface in rows.go
I am facing this problem when mocking mysql.
The text was updated successfully, but these errors were encountered: