staticAddr caches the Network() and String() values from any net.Addr.
| 43 | |
| 44 | // staticAddr caches the Network() and String() values from any net.Addr. |
| 45 | type staticAddr struct { |
| 46 | ntw, str string |
| 47 | } |
| 48 | |
| 49 | func newStaticAddr(a net.Addr) net.Addr { |
| 50 | return &staticAddr{ |
nothing calls this directly
no outgoing calls
no test coverage detected