mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +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
|
||||
item.Value = value
|
||||
// set the item
|
||||
rsp.Item = item
|
||||
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user