Skip to content

Commit 37e3816

Browse files
committed
fmt -> strconv
1 parent 1d86ad0 commit 37e3816

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mstats/mstats.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package mstats
22

33
import (
4-
"fmt"
54
"runtime"
5+
"strconv"
66
"sync/atomic"
77
"time"
88
)
@@ -17,7 +17,7 @@ func (a *Var) String() string {
1717
if v == nil {
1818
return "0"
1919
}
20-
return fmt.Sprintf("%d", v.(uint64))
20+
return strconv.FormatUint(v.(uint64), 10)
2121
}
2222

2323
// PauseNS is the total number of nanoseconds the GC has paused the application

0 commit comments

Comments
 (0)