fix nocache.

This commit is contained in:
fiatjaf
2023-11-05 19:56:18 -03:00
parent 6e0c608a0c
commit ddb1f4ab86

View File

@@ -21,5 +21,6 @@ func (c *Cache) SetJSON(key string, value any) {}
func (c *Cache) SetWithTTL(key string, value []byte, ttl time.Duration) {} func (c *Cache) SetWithTTL(key string, value []byte, ttl time.Duration) {}
func (c *Cache) SetJSONWithTTL(key string, value any, ttl time.Duration) {} func (c *Cache) SetJSONWithTTL(key string, value any, ttl time.Duration) {}
func (c *Cache) GetPaginatedKeys(prefix string, page int, size int) []string { return []string{} } func (c *Cache) GetPaginatedKeys(prefix string, page int, size int) []string { return []string{} }
func (c *Cache) Delete(key string) {}
var db eventstore.Store = nullstore.NullStore{} var db eventstore.Store = &nullstore.NullStore{}