feat: updated cache implementation and fixed bugs

This commit is contained in:
David Allen 2025-06-20 14:14:38 -06:00
parent 8b859ff3fb
commit a9d59ee50d
Signed by: towk
GPG key ID: 0430CDBE22619155
7 changed files with 550 additions and 97 deletions

View file

@ -8,6 +8,7 @@ import (
type Cache[T any] interface {
CreateIfNotExists(path string) (driver.Connector, error)
Insert(path string, data ...T) error
Update(path string, data ...T) error
Delete(path string, data ...T) error
Get(path string) ([]T, error)
}