diff options
| author | JP Appel <jeanpierre.appel01@gmail.com> | 2025-07-18 15:28:13 -0400 |
|---|---|---|
| committer | JP Appel <jeanpierre.appel01@gmail.com> | 2025-07-18 16:56:41 -0400 |
| commit | 09cd2f2f80920830cc3fd3636a6b9fc93b10f743 (patch) | |
| tree | 28095952f3a26d4923db6aac96d7b7fdddc0dc2a /pkg/data/get.go | |
| parent | 6469090be4935f17d2dfafcee8e41ebff87f2e89 (diff) | |
Add methods for updating existing document entries
Additionally optimize various database queries
Diffstat (limited to 'pkg/data/get.go')
| -rw-r--r-- | pkg/data/get.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
