Initial prototype

This commit is contained in:
patwie
2024-03-28 23:55:02 +00:00
commit 36e3ecb5c7
9 changed files with 475 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
package core
import (
"bytes"
"context"
)
type (
Document struct {
Data bytes.Buffer
}
DocumentStore interface {
FindID(ctx context.Context, id string) (*Document, error)
Create(ctx context.Context, document *Document) (string, error)
}
)