mirror of https://github.com/gin-gonic/gin.git
Merge pull request #319 from bfosberry/fixing-example-bugs
Fixing compile bug
This commit is contained in:
commit
02a5e0929a
|
@ -18,7 +18,7 @@ func statsWorker() {
|
|||
c := time.Tick(1 * time.Second)
|
||||
var lastMallocs uint64 = 0
|
||||
var lastFrees uint64 = 0
|
||||
for range c {
|
||||
for _ = range c {
|
||||
var stats runtime.MemStats
|
||||
runtime.ReadMemStats(&stats)
|
||||
|
||||
|
|
Loading…
Reference in New Issue