Skip to content

Commit 619622c

Browse files
author
yusukato
committed
fix
1 parent 47d9c5e commit 619622c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

glg.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ func (g *Glg) out(level, format string, val ...interface{}) error {
425425
return nil
426426
}
427427

428-
var buf = make([]byte, 0, 20)
428+
var buf = make([]byte, 0, 19)
429429
buf = time.Now().AppendFormat(buf[:0], "2006-01-02 15:04:05")
430430

431431
var str = *(*string)(unsafe.Pointer(&buf)) +

0 commit comments

Comments
 (0)