mirror of
https://github.com/Dvorinka/excalidraw-full.git
synced 2026-06-04 06:12:56 +00:00
Initial prototype
This commit is contained in:
@@ -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)
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user