mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-08-02 10:38:41 -04:00
Maintenance: use net/netip when upgrade to Go 1.18 is possible
#177
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @qdm12 on GitHub (Mar 9, 2022).
Originally assigned to: @qdm12 on GitHub.
Use https://pkg.go.dev/net/netip which is more robust and better than the current
net.IPaddressesThis needs Go 1.18 which doesn't work with golangci-lint currently, so we'll have to wait.
@rgm3 commented on GitHub (Apr 30, 2022):
golangci-lint supports go 1.18 since v1.45.0, although some linters that do not support go 1.18 may be disabled. For details, see https://github.com/golangci/golangci-lint/issues/2649.
@qdm12 commented on GitHub (Apr 30, 2022):
Yes that's rather unfortunate a bunch of linters are not compatible. Thanks for mentioning this.
Since this issue is not really urgent, I'lll probably delay the upgrade to Go 1.18 until all golangci-lint linters are working again.
@qdm12 commented on GitHub (Jun 12, 2023):
Done in
9a4a268926