tlssock.go incorrectly uses the internal/itoa package, regardless of go version.
|
import ( |
|
"internal/itoa" |
|
"io" |
|
"net/netip" |
|
"strconv" |
|
"time" |
|
) |
The package is then used here:
|
return JoinHostPort(a.Host, itoa.Itoa(a.Port)) |
There is already an implementation based on go version in itoa_go126.go and itoa_pre126.go, so this may just be a silly mistake.
tlssock.goincorrectly uses theinternal/itoapackage, regardless of go version.net/tlssock.go
Lines 11 to 17 in 1026408
The package is then used here:
net/tlssock.go
Line 31 in 1026408
There is already an implementation based on go version in
itoa_go126.goanditoa_pre126.go, so this may just be a silly mistake.