From: qydysky Date: Thu, 17 Jun 2021 10:11:42 +0000 (+0800) Subject: fix X-Git-Tag: v0.5.29 X-Git-Url: http://127.0.0.1:8081/?a=commitdiff_plain;h=ec0be483da01b3091d0fe8a8ed24d817892f806c;p=part%2F.git fix --- diff --git a/tmplKV/tmplKV.go b/tmplKV/tmplKV.go index 3cbe132..a9a2fae 100644 --- a/tmplKV/tmplKV.go +++ b/tmplKV/tmplKV.go @@ -40,7 +40,7 @@ func (s *tmplKV) Set(key,value interface{},exp int64) { } //获取Value 及是否有效 -func (s *tmplKV) Get(key interface{}) (value interface{},isLive bool){ +func (s *tmplKV) Get(key interface{}) (isLive bool, value interface{}){ tmp, ok := s.kvt_map.Load(key) item,_ := tmp.(tmplKV_item)