yarpc / yarpc-go

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

Rhang/uber mock patch #2235

Closed r-hang closed 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
All committers have signed the CLA.