Files
Excalidraw/core/entity.go
T
2024-03-28 23:57:33 +00:00

18 lines
254 B
Go

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)
}
)