mirror of
https://github.com/Dvorinka/excalidraw-full.git
synced 2026-06-03 22:02:57 +00:00
18 lines
254 B
Go
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)
|
|
}
|
|
)
|