You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: client_test.go
    path of file: ./repos/convoy/cache/memory
    
    the code of the file until where you have to start completion: //go:build integration
// +build integration

package mcache

import (
	"context"
	"testing"
	"time"

	"github.com/stretchr/testify/require"
)

type data struct {
	Name string
}

const key = "test_key"

func Test_WriteToCache(t *testing.T) {
	cache := NewMemo
    
func Test_DeleteFromCache(t *testing.T) {
	cache := NewMemoryCache()

	err := cache.Set(context.TODO(), key, &data{Name: "test_name"}, 10*time.Second)
	require.NoError(t, err)

	err = cache.Delete(context.TODO(), key)
	require.NoError(t, err)

	var item data
	err = cache.Get(context.TODO(), key, &item)

	require.Equal(t, "", item.Name)
}