💥 Add store

This commit is contained in:
Dan Jones 2024-09-14 11:27:28 -05:00
commit bdc625b57e
6 changed files with 127 additions and 6 deletions

View file

@ -1,9 +1,9 @@
package testmocks
import (
"codeberg.org/danjones000/lenore/store"
vocab "github.com/go-ap/activitypub"
"github.com/go-ap/filters"
proc "github.com/go-ap/processing"
)
type st struct{}
@ -33,6 +33,9 @@ func (s *st) RemoveFrom(col vocab.IRI, it vocab.Item) error {
return nil
}
func GetStore() proc.Store {
func (s *st) Close() {
}
func GetStore() store.Store {
return &st{}
}