2 ms·
You don't need the receiver's type because you're calling `MethodByName` on a `reflect.Value` which you can construct from any receiver. https://go.dev/play/p/
by zimpenfish 3y ago
You don't need the receiver's type because you're calling `MethodByName` on a `reflect.Value` which you can construct from any receiver.
https://go.dev/play/p/hg-ugl7i0ei https://go.dev/play/p/hg-ugl7i0ei demonstrates this, I think?