about summary refs log tree commit diff stats
path: root/internal/components/data.go
diff options
context:
space:
mode:
authorAlan Pearce2024-07-12 20:54:46 +0200
committerAlan Pearce2024-07-12 21:20:15 +0200
commit9440d2fc4250e733e1dbe25303bd2407642ff28c (patch)
tree0b66900e76db359a1372fcffd3b59c385984c331 /internal/components/data.go
parent6781684647ad7f131054a93e1d13105d865c0e83 (diff)
downloadsearchix-9440d2fc4250e733e1dbe25303bd2407642ff28c.tar.lz
searchix-9440d2fc4250e733e1dbe25303bd2407642ff28c.tar.zst
searchix-9440d2fc4250e733e1dbe25303bd2407642ff28c.zip
refactor: remove unnecessary DocumentData struct
Diffstat (limited to 'internal/components/data.go')
-rw-r--r--internal/components/data.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/internal/components/data.go b/internal/components/data.go
index 601102d..3625017 100644
--- a/internal/components/data.go
+++ b/internal/components/data.go
@@ -4,7 +4,6 @@ import (
 	"go.alanpearce.eu/searchix/frontend"
 	"go.alanpearce.eu/searchix/internal/config"
 	search "go.alanpearce.eu/searchix/internal/index"
-	"go.alanpearce.eu/searchix/internal/nix"
 
 	"github.com/blevesearch/bleve/v2"
 )
@@ -28,9 +27,3 @@ type ResultData struct {
 	Prev           string
 	Next           string
 }
-
-type DocumentData struct {
-	TemplateData
-	Document *nix.Importable
-	Children *search.Result
-}