From 29e9fd3136f2e2fe301cbe07967fb3bb4ffcee2a Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Fri, 1 Dec 2023 00:52:33 +0100 Subject: fix: Rollback to exp slog repository This is done until go1.21 hits alpine repository. --- pkg/worker/list_processor.go | 3 ++- pkg/worker/list_processor_test.go | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'pkg/worker') diff --git a/pkg/worker/list_processor.go b/pkg/worker/list_processor.go index c4c3781..2a51466 100644 --- a/pkg/worker/list_processor.go +++ b/pkg/worker/list_processor.go @@ -3,8 +3,9 @@ package worker import ( "context" "errors" - "log/slog" "sync" + + "golang.org/x/exp/slog" ) type ( diff --git a/pkg/worker/list_processor_test.go b/pkg/worker/list_processor_test.go index 21489e8..053ebbd 100644 --- a/pkg/worker/list_processor_test.go +++ b/pkg/worker/list_processor_test.go @@ -5,11 +5,12 @@ package worker import ( "context" "errors" - "log/slog" "math/rand" "sync" "testing" + "golang.org/x/exp/slog" + "git.sr.ht/~gabrielgio/img/pkg/testkit" ) -- cgit v1.2.3