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/fetcher/channel.go | 5 +++-- internal/fetcher/download.go | 5 +++-- internal/fetcher/http.go | 3 ++- internal/fetcher/main.go | 5 +++-- internal/fetcher/nixpkgs-channel.go | 5 +++-- 5 files changed, 14 insertions(+), 9 deletions(-) (limited to 'internal/fetcher') diff --git a/internal/fetcher/channel.go b/internal/fetcher/channel.go index 01c4ae8..2bde631 100644 --- a/internal/fetcher/channel.go +++ b/internal/fetcher/channel.go @@ -7,12 +7,13 @@ import ( "os" "os/exec" "path" - "searchix/internal/config" - "searchix/internal/index" "strconv" "strings" "time" + "go.alanpearce.eu/searchix/internal/config" + "go.alanpearce.eu/searchix/internal/index" + "github.com/pkg/errors" ) diff --git a/internal/fetcher/download.go b/internal/fetcher/download.go index 7de6f26..941a683 100644 --- a/internal/fetcher/download.go +++ b/internal/fetcher/download.go @@ -5,8 +5,9 @@ import ( "fmt" "log/slog" "net/url" - "searchix/internal/config" - "searchix/internal/index" + + "go.alanpearce.eu/searchix/internal/config" + "go.alanpearce.eu/searchix/internal/index" "github.com/pkg/errors" ) diff --git a/internal/fetcher/http.go b/internal/fetcher/http.go index 1a47f11..c848dc9 100644 --- a/internal/fetcher/http.go +++ b/internal/fetcher/http.go @@ -6,10 +6,11 @@ import ( "io" "log/slog" "net/http" - "searchix/internal/config" "strings" "time" + "go.alanpearce.eu/searchix/internal/config" + "github.com/andybalholm/brotli" "github.com/pkg/errors" ) diff --git a/internal/fetcher/main.go b/internal/fetcher/main.go index 7ea0b03..fcc04a9 100644 --- a/internal/fetcher/main.go +++ b/internal/fetcher/main.go @@ -4,8 +4,9 @@ import ( "context" "io" "log/slog" - "searchix/internal/config" - "searchix/internal/index" + + "go.alanpearce.eu/searchix/internal/config" + "go.alanpearce.eu/searchix/internal/index" "github.com/pkg/errors" ) diff --git a/internal/fetcher/nixpkgs-channel.go b/internal/fetcher/nixpkgs-channel.go index 62fea13..ca33ae6 100644 --- a/internal/fetcher/nixpkgs-channel.go +++ b/internal/fetcher/nixpkgs-channel.go @@ -5,8 +5,9 @@ import ( "fmt" "log/slog" "net/url" - "searchix/internal/config" - "searchix/internal/index" + + "go.alanpearce.eu/searchix/internal/config" + "go.alanpearce.eu/searchix/internal/index" "github.com/pkg/errors" ) -- cgit 1.4.1