about summary refs log tree commit diff stats
path: root/internal/importer
diff options
context:
space:
mode:
authorAlan Pearce2024-06-29 18:11:11 +0200
committerAlan Pearce2024-06-29 18:11:11 +0200
commita597c5df0f9f19058b2c83fde7e7777e1d762581 (patch)
treed721fec9a49f4b3946186253bfeb1b59a4df6189 /internal/importer
parent9f01a82186f3ba8e89e1d80c75112fea38858856 (diff)
downloadsearchix-a597c5df0f9f19058b2c83fde7e7777e1d762581.tar.lz
searchix-a597c5df0f9f19058b2c83fde7e7777e1d762581.tar.zst
searchix-a597c5df0f9f19058b2c83fde7e7777e1d762581.zip
refactor: rename go module
Diffstat (limited to 'internal/importer')
-rw-r--r--internal/importer/importer.go5
-rw-r--r--internal/importer/main.go7
-rw-r--r--internal/importer/main_test.go5
-rw-r--r--internal/importer/options.go5
-rw-r--r--internal/importer/package.go5
-rw-r--r--internal/importer/utils.go5
6 files changed, 19 insertions, 13 deletions
diff --git a/internal/importer/importer.go b/internal/importer/importer.go
index 6803f00..31d13c1 100644
--- a/internal/importer/importer.go
+++ b/internal/importer/importer.go
@@ -3,9 +3,10 @@ package importer
 import (
 	"context"
 	"log/slog"
-	"searchix/internal/index"
-	"searchix/internal/nix"
 	"sync"
+
+	"go.alanpearce.eu/searchix/internal/index"
+	"go.alanpearce.eu/searchix/internal/nix"
 )
 
 type Importer interface {
diff --git a/internal/importer/main.go b/internal/importer/main.go
index bd41af2..bbd8b6c 100644
--- a/internal/importer/main.go
+++ b/internal/importer/main.go
@@ -5,13 +5,14 @@ import (
 	"fmt"
 	"log/slog"
 	"os/exec"
-	"searchix/internal/config"
-	"searchix/internal/fetcher"
-	"searchix/internal/index"
 	"slices"
 	"strings"
 	"time"
 
+	"go.alanpearce.eu/searchix/internal/config"
+	"go.alanpearce.eu/searchix/internal/fetcher"
+	"go.alanpearce.eu/searchix/internal/index"
+
 	"github.com/pkg/errors"
 )
 
diff --git a/internal/importer/main_test.go b/internal/importer/main_test.go
index bbb91a3..cb4d1db 100644
--- a/internal/importer/main_test.go
+++ b/internal/importer/main_test.go
@@ -2,9 +2,10 @@ package importer
 
 import (
 	"log/slog"
-	"searchix/internal/config"
-	"searchix/internal/index"
 	"testing"
+
+	"go.alanpearce.eu/searchix/internal/config"
+	"go.alanpearce.eu/searchix/internal/index"
 )
 
 var cfg = config.DefaultConfig
diff --git a/internal/importer/options.go b/internal/importer/options.go
index c26836e..290e2e3 100644
--- a/internal/importer/options.go
+++ b/internal/importer/options.go
@@ -5,8 +5,9 @@ import (
 	"io"
 	"log/slog"
 	"reflect"
-	"searchix/internal/config"
-	"searchix/internal/nix"
+
+	"go.alanpearce.eu/searchix/internal/config"
+	"go.alanpearce.eu/searchix/internal/nix"
 
 	"github.com/bcicen/jstream"
 	"github.com/mitchellh/mapstructure"
diff --git a/internal/importer/package.go b/internal/importer/package.go
index 4e193db..5a0ea00 100644
--- a/internal/importer/package.go
+++ b/internal/importer/package.go
@@ -5,10 +5,11 @@ import (
 	"encoding/json"
 	"io"
 	"reflect"
-	"searchix/internal/config"
-	"searchix/internal/nix"
 	"strings"
 
+	"go.alanpearce.eu/searchix/internal/config"
+	"go.alanpearce.eu/searchix/internal/nix"
+
 	"github.com/bcicen/jstream"
 	"github.com/mitchellh/mapstructure"
 	"github.com/pkg/errors"
diff --git a/internal/importer/utils.go b/internal/importer/utils.go
index 7c53173..da10735 100644
--- a/internal/importer/utils.go
+++ b/internal/importer/utils.go
@@ -4,10 +4,11 @@ import (
 	"fmt"
 	"io"
 	"net/url"
-	"searchix/internal/config"
-	"searchix/internal/nix"
 	"strings"
 
+	"go.alanpearce.eu/searchix/internal/config"
+	"go.alanpearce.eu/searchix/internal/nix"
+
 	"github.com/bcicen/jstream"
 	"github.com/pkg/errors"
 )