News for hackers. Stuff that matters.
Re:Deadcode: Finding unreachable functions in Go by zimpenfish on Tuesday January 23, 2024 @05:19PM (#39110761)
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 demonstrates this, I think?

There are no comments on this comment yet.