sanposhiho / gomockhandler

Mr. gomockhandler is the clever and more agile manager of golang/mock (uber/mock) 👔
MIT License
111 stars 9 forks source link

Update check command to replace tmp file path in comment out section #89

Closed s4s7 closed 9 months ago

s4s7 commented 9 months ago

Issue

Fixes https://github.com/sanposhiho/gomockhandler/issues/88

changed

replace process

I created a regular expression that corresponds to go.uber.org/mock/mockgen@v0.4.0 and go.uber.org/mock/mockgen@v0.3.0. (There are no comments that need to be fixed in v0.1.0 and v0.2.0.)

e.g.

Before: // mockgen -destination=usecases/mock/tmp_xxx.go

After: // mockgen -destination=usecases/mock/xxx.go

Thank you !!

sanposhiho commented 9 months ago

@s4s7 Have you already checked this patch solves the problem in your project?

s4s7 commented 9 months ago

Yes, I've checked this patch to solve the problem in my project with go install.

s4s7 commented 9 months ago

I corrected your review and confirmed the operation verification.