func (d *CacheResult) GetResult() interface{} {
	d.lock.Lock()
	defer d.lock.Unlock()
	return d.result
}
GetResult gets cache result
package caching
import (
	"sync"
	"github.com/spaceuptech/space-cloud/gateway/model"
)
type CacheResult struct {
	lock           sync.RWMutex
	redisKey       string
	isCacheHit     bool
	isCacheEnabled bool
	result         interface{}
}