yarpc-go icon indicating copy to clipboard operation
yarpc-go copied to clipboard

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

Open r-hang opened this issue 2 years ago • 1 comments

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.

  • [x] Description and context for reviewers: one partner, one stranger
  • [n/a] Docs (package doc)
  • [x] Entry in CHANGELOG.md

r-hang avatar Dec 01 '23 19:12 r-hang

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.

CLAassistant avatar Dec 01 '23 19:12 CLAassistant