I have a struct T that implements an interface I, but I want *T to not implement the interface. Is this possible?
That is, this should compile fine:
var obj I = T{}
but this should generate a compile error:
var obj I = &T{}
The reason is that it is a common mistake in my codebase to accidentally use *T as a certain interface I when it is expected that only T will be used.