From e062ca72b222b890e345548bd8422d5df98e9fef Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 9 May 2024 16:47:41 +0200 Subject: feat: import sources from configuration in go code and index options --- internal/options/option.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'internal/options/option.go') diff --git a/internal/options/option.go b/internal/options/option.go index a43dd49..b7fe818 100644 --- a/internal/options/option.go +++ b/internal/options/option.go @@ -14,6 +14,7 @@ type Link struct { type NixOption struct { Option string + Source string Declarations []Link Default *NixValue `json:",omitempty"` @@ -24,4 +25,6 @@ type NixOption struct { Type string } -type NixOptions []NixOption +func (*NixOption) BleveType() string { + return "option" +} -- cgit 1.4.1