I'm trying to generate mocks after switching to go 1.18 and refactoring some of my code with generics.
Expected behavior:
Mocks generated as previously with no errors.
Actual behavior:
Interface mock generation fails with Unexpected package creation during export data loading error.
Additional: some interfaces generated with no errors and some interfaces generation fails. Seems like error occurs in packages where generic code exists.
I'm trying to generate mocks after switching to go 1.18 and refactoring some of my code with generics.
Expected behavior: Mocks generated as previously with no errors.
Actual behavior: Interface mock generation fails with
Unexpected package creation during export data loading
error.Additional: some interfaces generated with no errors and some interfaces generation fails. Seems like error occurs in packages where generic code exists.
moq version:
v0.2.6