refactor: move interfaces closer to usage
1 file changed, 0 insertions(+), 11 deletions(-)
changed files
M internal/nix/importable.go → internal/nix/importable.go
@@ -6,17 +6,6 @@ "alin.ovh/searchix/internal/config" ) -type Importable interface { - ImporterType() string - BleveType() string - GetName() string - GetSource() string -} - -func GetKey(i Importable) string { - return i.ImporterType() + "/" + i.GetSource() + "/" + i.GetName() -} - func MakeKey(source config.Source, id string) string { return source.Importer.String() + "/" + source.Key + "/" + id }