1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-22 14:30:50 +00:00

better go style

This commit is contained in:
JessonChan 2015-04-26 01:23:18 +08:00 committed by astaxie
parent dfe055c47c
commit 3415a5b091

View File

@ -51,7 +51,7 @@ import (
"time"
)
var defaultSetting = BeegoHttpSettings{false, "beegoServer", 60 * time.Second, 60 * time.Second, nil, nil, nil, false, true}
var defaultSetting = BeegoHttpSettings{UserAgent: "beegoServer", ConnectionTimeout: 60 * time.Second, ReadWriteTimeout: 60 * time.Second, Giz: true}
var defaultCookieJar http.CookieJar
var settingMutex sync.Mutex