Open sheepman-x opened 3 years ago
Firstly, sqlmocks support QueryRowContext
, this is an example: https://go.dev/play/p/ExJZSW3TLDb
Secondly, you do it in a wrong, this is a corret way: https://go.dev/play/p/Rucz0hKBNc3
Maybe the error message is misinformation
mycode
i got
Query, QueryContext or QueryRow no QueryRowContext