//Get calls the cache service to get a given key's value
Get calls the cache service to get a given key's value
// Get calls the cache service to get a given key ' s value
func Get(ctx context.Context, client cache.CacheClient, key string) {
	response, err := client.Get(context.Background(), &cache.GetRequest{Key: key})
	if err == nil && response != nil {
		fmt.Printf("Value:\"%s\"\n", response.GetValue())
	} else {
		fmt.Printf("could not get key \"%s\", \"%v\"\n", key, err)
	}
}
func Get ( ctx context . Context , client cache . CacheClient , key string ) { response , err := client . Get ( context . Background ( ) , & cache . GetRequest { Key : key } ) if err == nil && response != nil { fmt . Printf ( " \" \" \n " , response . GetValue ( ) ) } else { fmt . Printf ( " \" \" \" \" \n " , key , err ) } }
Get calls the cache service to get a given key's value
Get calls the cache service to get a given key ' s value