From a597c5df0f9f19058b2c83fde7e7777e1d762581 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 29 Jun 2024 18:11:11 +0200 Subject: refactor: rename go module --- internal/importer/importer.go | 5 +++-- internal/importer/main.go | 7 ++++--- internal/importer/main_test.go | 5 +++-- internal/importer/options.go | 5 +++-- internal/importer/package.go | 5 +++-- internal/importer/utils.go | 5 +++-- 6 files changed, 19 insertions(+), 13 deletions(-) (limited to 'internal/importer') 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" ) -- cgit 1.4.1