feat(index): enable storage of package data
1 file changed, 7 insertions(+), 0 deletions(-)
changed files
M internal/nix/importable.go → internal/nix/importable.go
@@ -1,5 +1,7 @@ package nix +import "encoding/gob" + type Importable interface { BleveType() string GetName() string@@ -9,3 +11,8 @@ func GetKey(i Importable) string { return i.BleveType() + "/" + i.GetSource() + "/" + i.GetName() } + +func init() { + gob.Register(Option{}) + gob.Register(Package{}) +}