mirror of
https://github.com/astaxie/beego.git
synced 2025-07-27 16:55:31 +00:00
gofmt -s
This commit is contained in:
@@ -42,4 +42,3 @@ func TestConsole(t *testing.T) {
|
||||
log2.SetLogger("console", `{"level":3}`)
|
||||
testConsoleCalls(log2)
|
||||
}
|
||||
|
||||
|
@@ -130,7 +130,6 @@ func BenchmarkFile(b *testing.B) {
|
||||
os.Remove("test4.log")
|
||||
}
|
||||
|
||||
|
||||
func BenchmarkFileAsynchronous(b *testing.B) {
|
||||
log := NewLogger(100000)
|
||||
log.SetLogger("file", `{"filename":"test4.log"}`)
|
||||
@@ -168,7 +167,7 @@ func BenchmarkFileOnGoroutine(b *testing.B) {
|
||||
log := NewLogger(100000)
|
||||
log.SetLogger("file", `{"filename":"test4.log"}`)
|
||||
for i := 0; i < b.N; i++ {
|
||||
go log.Debug("debug")
|
||||
go log.Debug("debug")
|
||||
}
|
||||
os.Remove("test4.log")
|
||||
}
|
||||
|
Reference in New Issue
Block a user