mirror of
https://github.com/tinygo-org/net.git
synced 2026-07-26 08:18:39 +00:00
net/interface: use internal implementation for itoa.Uitoa
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
+2
-1
@@ -8,6 +8,7 @@ package net
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"internal/itoa"
|
||||
"sync"
|
||||
"time"
|
||||
)
|
||||
@@ -226,7 +227,7 @@ func (zc *ipv6ZoneCache) name(index int) string {
|
||||
zoneCache.RUnlock()
|
||||
}
|
||||
if !ok { // last resort
|
||||
name = uitoa(uint(index))
|
||||
name = itoa.Uitoa(uint(index))
|
||||
}
|
||||
return name
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user