diff options
author | Alan Pearce | 2024-06-29 18:11:11 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-29 18:11:11 +0200 |
commit | a597c5df0f9f19058b2c83fde7e7777e1d762581 (patch) | |
tree | d721fec9a49f4b3946186253bfeb1b59a4df6189 /internal/fetcher | |
parent | 9f01a82186f3ba8e89e1d80c75112fea38858856 (diff) | |
download | searchix-a597c5df0f9f19058b2c83fde7e7777e1d762581.tar.lz searchix-a597c5df0f9f19058b2c83fde7e7777e1d762581.tar.zst searchix-a597c5df0f9f19058b2c83fde7e7777e1d762581.zip |
refactor: rename go module
Diffstat (limited to 'internal/fetcher')
-rw-r--r-- | internal/fetcher/channel.go | 5 | ||||
-rw-r--r-- | internal/fetcher/download.go | 5 | ||||
-rw-r--r-- | internal/fetcher/http.go | 3 | ||||
-rw-r--r-- | internal/fetcher/main.go | 5 | ||||
-rw-r--r-- | internal/fetcher/nixpkgs-channel.go | 5 |
5 files changed, 14 insertions, 9 deletions
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" ) |