From 0053db0d265af313dd281db5cf1e73236cde30c6 Mon Sep 17 00:00:00 2001 From: mo khan Date: Fri, 25 Apr 2025 11:00:53 -0600 Subject: refactor: move domain package into app --- app/controllers/dashboard/controller_test.go | 2 +- app/controllers/dashboard/dto.go | 2 +- app/controllers/sparkles/controller.go | 2 +- app/controllers/sparkles/controller_test.go | 2 +- app/controllers/sparkles/init.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'app/controllers') diff --git a/app/controllers/dashboard/controller_test.go b/app/controllers/dashboard/controller_test.go index 01e3ff6..20e16ce 100644 --- a/app/controllers/dashboard/controller_test.go +++ b/app/controllers/dashboard/controller_test.go @@ -5,7 +5,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/domain" + "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/app/domain" "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/key" "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/test" ) diff --git a/app/controllers/dashboard/dto.go b/app/controllers/dashboard/dto.go index ff587ae..6ffe027 100644 --- a/app/controllers/dashboard/dto.go +++ b/app/controllers/dashboard/dto.go @@ -1,6 +1,6 @@ package dashboard -import "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/domain" +import "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/app/domain" type ViewDashboardDTO struct { CurrentUser *domain.User diff --git a/app/controllers/sparkles/controller.go b/app/controllers/sparkles/controller.go index bda7151..5cdb60d 100644 --- a/app/controllers/sparkles/controller.go +++ b/app/controllers/sparkles/controller.go @@ -7,7 +7,7 @@ import ( "github.com/xlgmokha/x/pkg/mapper" "github.com/xlgmokha/x/pkg/serde" "github.com/xlgmokha/x/pkg/x" - "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/domain" + "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/app/domain" "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/web/middleware" ) diff --git a/app/controllers/sparkles/controller_test.go b/app/controllers/sparkles/controller_test.go index 4ef4d7d..65a9622 100644 --- a/app/controllers/sparkles/controller_test.go +++ b/app/controllers/sparkles/controller_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "github.com/xlgmokha/x/pkg/serde" + "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/app/domain" "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/db" - "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/domain" "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/key" "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/test" ) diff --git a/app/controllers/sparkles/init.go b/app/controllers/sparkles/init.go index 98bf43d..2586c9a 100644 --- a/app/controllers/sparkles/init.go +++ b/app/controllers/sparkles/init.go @@ -6,7 +6,7 @@ import ( "github.com/xlgmokha/x/pkg/log" "github.com/xlgmokha/x/pkg/mapper" "github.com/xlgmokha/x/pkg/serde" - "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/domain" + "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/app/domain" "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/key" ) -- cgit v1.2.3