From c51ca7c62e08f43ef9974af35886d30ce54a1f22 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 16 May 2024 20:22:42 +0200 Subject: refactor: use interface to unify Options and Packages --- internal/index/search.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/index/search.go') diff --git a/internal/index/search.go b/internal/index/search.go index d069510..a86cc02 100644 --- a/internal/index/search.go +++ b/internal/index/search.go @@ -4,7 +4,7 @@ import ( "bytes" "context" "encoding/gob" - "searchix/internal/options" + "searchix/internal/nix" "github.com/blevesearch/bleve/v2" "github.com/blevesearch/bleve/v2/search" @@ -15,7 +15,7 @@ const ResultsPerPage = 20 type DocumentMatch struct { search.DocumentMatch - Data options.NixOption + Data nix.Option } type Result struct { -- cgit 1.4.1