yarpc / yarpc-go

A message passing platform for Go
MIT License
401 stars 101 forks source link

thriftrw-plugin-yarpc: Support go.uber.org/mock #2236

Open r-hang opened 7 months ago

r-hang commented 7 months ago

github.com/golang/mock has been deprecated and archive and the readme now points to https://github.com/uber/mock as its successor.

YARPC's thriftrw plugin assumes golang/mock. Add the ability to configure the mock runtime in the thriftrw plugin generated code to allow for golang/mock (by default to not break existing code) and uber/mock by configuration.

CLAassistant commented 7 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.