符合gilint规范

This commit is contained in:
wenzl committed 2016-09-19 20:00:01 +08:00
1 parent 6a8dc6c3ea
commit 85fa02b00d
5 files changed
+19 -17

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ func copyConfigToContext(cfg *Config, context *context.Context) {
context.EncodingAESKey = cfg.EncodingAESKey
context.Cache = cfg.Cache
context.SetAccessTokenLock(new(sync.RWMutex))
context.SetJsApiTicketLock(new(sync.RWMutex))
context.SetJsAPITicketLock(new(sync.RWMutex))
}
//GetServer 消息管理