Closed pashagolub closed 2 years ago
Right now this fails with panic: runtime error: index out of range [0] with length 0:
panic: runtime error: index out of range [0] with length 0
mock.ExpectQuery("SELECT").WillReturnRows(NewRows([]string{"id"})) if err := mock.QueryRow(context.Background(), "SELECT").Scan(&id)
Right now this fails with
panic: runtime error: index out of range [0] with length 0
: