chore(all): replace net.IP with netip.Addr
This commit is contained in:
@@ -2,12 +2,12 @@ package publicip
|
||||
|
||||
import (
|
||||
"context"
|
||||
"net"
|
||||
"net/netip"
|
||||
|
||||
"github.com/qdm12/gluetun/internal/publicip/ipinfo"
|
||||
)
|
||||
|
||||
type Fetcher interface {
|
||||
FetchInfo(ctx context.Context, ip net.IP) (
|
||||
FetchInfo(ctx context.Context, ip netip.Addr) (
|
||||
result ipinfo.Response, err error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user