Using interface types as map keys

If you use third-party libraries, there will be mistakes.

In this case, the concrete type that it’s going to be 99.9% of the time is the unexported type net.conn, so that doesn’t apply.

Then the case condition go to you don’t want to work around.

And what do you mean by unexported type net.conn exactly? Didn’t net.Conn is exported?