Closed XieWeiXie closed 5 years ago
Hi, by default sqlmock supports only standard go library value converter. You may customize it I guess, in order to support custom value converter not sure if pq exposes it, but that should allow to transform custom types to sql driver values. Note, you would need to create rows from Sqlmock instance (since only then it would use the custom value converter)
can now be managed with custom converter #195
Hi, guys. Is there an easy way to solve this problem?
and then:
error found:
name "face_ids": pq: cannot convert pq.Int64Array to Int64Array
So? what should i do?