Closed
Description
https://play.golang.org/p/_O9zzZhdd-z
Usually net.Listeners are pointers, therefore comparable, but I would expect non-pointer net.Listeners to work just fine.
If my expectation is correct, perhaps this behavior should be documented.
Or the type of Server.listeners
could be changed to map[*net.Listener]struct{}
.