mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-22 23:35:26 +00:00
set the item
This commit is contained in:
3
cache/handler/cache.go
vendored
3
cache/handler/cache.go
vendored
@@ -27,6 +27,9 @@ func (c *Cache) Get(ctx context.Context, req *pb.GetRequest, rsp *pb.GetResponse
|
|||||||
|
|
||||||
// set the value
|
// set the value
|
||||||
item.Value = value
|
item.Value = value
|
||||||
|
// set the item
|
||||||
|
rsp.Item = item
|
||||||
|
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user