Closed philborlin closed 2 months ago
Please update the version of counterfeiter. You are likely using an old version. Check your go.mod and run go get -u github.com/maxbrunsfeld/counterfeiter/v6
to update the version.
That worked! Sorry that seems pretty obvious in hindsight.
No problem, I'm glad you got it sorted out!
I picked up a project that I haven't worked on in awhile and ran go generate and got a panic. Here are the relevant files:
tools.go
cluster.go
When I use go 1.20 generate works correctly:
When I use go 1.21 generate works correctly:
When I use go 1.22 generate panics: