From a75cd240994836a58bb413c7afb3da2c7e5533e2 Mon Sep 17 00:00:00 2001 From: cluttrdev Date: Mon, 22 Jan 2024 17:48:09 +0100 Subject: [PATCH] Move internal/worker to pkg/ --- internal/controller/controller.go | 2 +- {internal => pkg}/worker/worker.go | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename {internal => pkg}/worker/worker.go (100%) diff --git a/internal/controller/controller.go b/internal/controller/controller.go index 27c4e7b..cc8f758 100644 --- a/internal/controller/controller.go +++ b/internal/controller/controller.go @@ -17,7 +17,7 @@ import ( "github.com/cluttrdev/gitlab-exporter/internal/config" "github.com/cluttrdev/gitlab-exporter/internal/gitlab" - "github.com/cluttrdev/gitlab-exporter/internal/worker" + "github.com/cluttrdev/gitlab-exporter/pkg/worker" ) type Controller struct { diff --git a/internal/worker/worker.go b/pkg/worker/worker.go similarity index 100% rename from internal/worker/worker.go rename to pkg/worker/worker.go