Closed frekui closed 3 years ago
Done in https://github.com/go-test/deep/pull/44. Now if the type names are the same, it'll prepend the full pkg path name:
github.com/go-test/deep/test/v1.Error != github.com/go-test/deep/test/v2.Error"
Will release as v1.0.7.
I'm using v1.0.4.
This program:
produces the output
diff: [elastic.Error != elastic.Error]
which gives little indication for why there is a difference betweenerrv6
anderrv7
. I have usedgithub.com/olivere/elastic
here but the problem is not specific to that module. Perhaps the full import path can be included in the diff if two distinct types have the same name?