This commit is contained in:
liuguoyang@cmcm.com 2019-09-06 16:57:20 +08:00
parent ff31de73a5
commit a588eeea2c

View File

@ -57,7 +57,7 @@ type Context struct {
Keys map[string]interface{} Keys map[string]interface{}
// RWMutex for Keys Set and Get Goroutine safe // RWMutex for Keys Set and Get Goroutine safe
m sync.RWMutex m sync.RWMutex
// Errors is a list of errors attached to all the handlers/middlewares who used this context. // Errors is a list of errors attached to all the handlers/middlewares who used this context.
Errors errorMsgs Errors errorMsgs