chore: fix lint issue (#1694)

This commit is contained in:
Kevin Wan
2022-03-22 13:31:05 +08:00
committed by GitHub
parent 7181505c8a
commit fe262766b4

View File

@@ -11,6 +11,7 @@ const (
mega = 1024 * 1024
)
// DisplayStats prints the goroutine, memory, GC stats with given interval, default to 5 seconds.
func DisplayStats(interval ...time.Duration) {
duration := defaultInterval
for _, val := range interval {