Closed haunt98 closed 7 months ago
This is probably worth creating a Issue so that @matryer gets notified about it.
In the meantime in case anyone is stopped my this you can always do a
GOTOOLCHAIN=go1.21.7 go install github.com/matryer/moq@v0.3.3
Thanks @ralf-cestusio, I open issue https://github.com/matryer/moq/issues/212 and link to this PR.
Thanks @haunt98 for this fix!
Changes have been released in v0.3.4 🎉
Thanks @sudo-suhas . It's my pleasure.
After I update to go
1.22.0
, running moq is panic withruntime error: invalid memory address or nil pointer dereference
.Updating
golang.org/x/tools
fix the issue.My command:
The panic:
So I make the PR to update
golang.org/x/tools
and fix https://github.com/matryer/moq/issues/212Again, thanks for wonderful mock tool.