//Unset calls the cacheService to remove a given key
Unset calls the cacheService to remove a given key
// Unset calls the cacheService to remove a given key
func Unset(cxt context.Context, client cache.CacheClient, key string) {
	request := &cache.UnsetRequest{
		Key: key,
	}
	response, err := client.Unset(context.Background(), request)
	if err == nil && response.Ok {
		fmt.Printf("key \"%s\"removed from the cache\n", request.GetKey())
	} else {
		fmt.Printf("could not remove key \"%s\", \"%v\"\n", key, err)
	}
}
func Unset ( cxt context . Context , client cache . CacheClient , key string ) { request := & cache . UnsetRequest { Key : key , } response , err := client . Unset ( context . Background ( ) , request ) if err == nil && response . Ok { fmt . Printf ( " \" \" \n " , request . GetKey ( ) ) } else { fmt . Printf ( " \" \" \" \" \n " , key , err ) } }
Unset calls the cacheService to remove a given key
Unset calls the cacheService to remove a given key