feat: store data separate from search index
1 file changed, 0 insertions(+), 10 deletions(-)
changed files
M internal/components/data.go → internal/components/data.go
@@ -4,7 +4,6 @@ import ( "alin.ovh/searchix/frontend" "alin.ovh/searchix/internal/config" search "alin.ovh/searchix/internal/index" - "alin.ovh/searchix/internal/nix" ) type TemplateData struct {@@ -25,12 +24,3 @@ Prev string Next string All string } - -func convertMatch[I nix.Importable](m nix.Importable) *I { - i, ok := m.(I) - if !ok { - return nil - } - - return &i -}