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