| 53 | } |
| 54 | |
| 55 | type PreferIPv4 struct { |
| 56 | LookupNetIPer |
| 57 | } |
| 58 | |
| 59 | func (p PreferIPv4) LookupNetIP(ctx context.Context, network, host string) ([]netip.Addr, error) { |
| 60 | addrs, err := p.LookupNetIPer.LookupNetIP(ctx, network, host) |
nothing calls this directly
no outgoing calls
no test coverage detected