Closed tprebs closed 2 years ago
Same here, hope we get a new release soon?
I've resorted to git clone --single-branch -b update_x_tools https://github.com/slagiewka/moq.git && cd moq && go install
in our Dockerfile that is used when calling go generate
.
Please try the latest release, and let me know.
@matryer I've updated our Dockerfile, and the new release seems to be working as it should. 👍🏻
I switch from go version
1.17.8
to1.18
and now Moq is now failing withinternal error: package "errors" without types was imported from "...."
. After a quick dig around its seems to be caused by the current version ofx/tools
not playing nicely with 1.18. (https://github.com/golang/go/issues/49164)I have bumped xtools to 0.1.9 and this has resolved the issue