See golang/protobuf#1561
We use it here:
|
rm, ok := rt.MethodByName(m) |
It may not matter much since this code would generally only be used from test packages, but it'd be good to confirm that they are still eliminated properly. It's also not that uncommon to have some tests in the non-test package to test unexported functions, though this should be rare with Dogma applications.