From 09cd2f2f80920830cc3fd3636a6b9fc93b10f743 Mon Sep 17 00:00:00 2001 From: JP Appel Date: Fri, 18 Jul 2025 15:28:13 -0400 Subject: Add methods for updating existing document entries Additionally optimize various database queries --- pkg/data/get.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/data/get.go') diff --git a/pkg/data/get.go b/pkg/data/get.go index 8dafb24..840ca53 100644 --- a/pkg/data/get.go +++ b/pkg/data/get.go @@ -45,7 +45,7 @@ func (f Fill) Get(ctx context.Context) (*index.Document, error) { return f.doc, nil } -func (f FillMany) Get(ctx context.Context) (map[string]*index.Document, error) { +func (f *FillMany) Get(ctx context.Context) (map[string]*index.Document, error) { f.docs = make(map[string]*index.Document) f.ids = make(map[string]int) -- cgit v1.2.3