about summary refs log tree commit diff stats
path: root/internal/importer/ingest.go
diff options
context:
space:
mode:
authorAlan Pearce2024-05-09 19:12:52 +0200
committerAlan Pearce2024-05-09 19:28:15 +0200
commitc72f8dc787379f6544739c5c57a8241a14f6d2a0 (patch)
treee3ef963dd526206b68fb3d1125bb0b7e6c0bcd51 /internal/importer/ingest.go
parent3b379a13710cae2adc56131af1069e6fb92976b8 (diff)
downloadsearchix-c72f8dc787379f6544739c5c57a8241a14f6d2a0.tar.lz
searchix-c72f8dc787379f6544739c5c57a8241a14f6d2a0.tar.zst
searchix-c72f8dc787379f6544739c5c57a8241a14f6d2a0.zip
style: rename Option.Option to Option.Name
Diffstat (limited to 'internal/importer/ingest.go')
-rw-r--r--internal/importer/ingest.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/importer/ingest.go b/internal/importer/ingest.go
index b9db80c..3d6854d 100644
--- a/internal/importer/ingest.go
+++ b/internal/importer/ingest.go
@@ -220,7 +220,7 @@ func (i *OptionIngester) Process(ctx context.Context) (<-chan *options.NixOption
 
 			// slog.Debug("sending option", "name", kv.Key)
 			results <- &options.NixOption{
-				Option:          kv.Key,
+				Name:            kv.Key,
 				Source:          strings.ToLower(i.source.Name),
 				Declarations:    decs,
 				Default:         convertNixValue(i.optJSON.Default),