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 --- pkg/web/middleware/init.go | 2 +- pkg/web/middleware/require_user_test.go | 2 +- pkg/web/middleware/user.go | 2 +- pkg/web/middleware/user_test.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'pkg/web/middleware') diff --git a/pkg/web/middleware/init.go b/pkg/web/middleware/init.go index ac06c32..f1a693d 100644 --- a/pkg/web/middleware/init.go +++ b/pkg/web/middleware/init.go @@ -2,7 +2,7 @@ package middleware import ( "github.com/xlgmokha/x/pkg/mapper" - "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/oidc" ) diff --git a/pkg/web/middleware/require_user_test.go b/pkg/web/middleware/require_user_test.go index ac764f6..68b9911 100644 --- a/pkg/web/middleware/require_user_test.go +++ b/pkg/web/middleware/require_user_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "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/pkg/web/middleware/user.go b/pkg/web/middleware/user.go index 1e46187..194ded6 100644 --- a/pkg/web/middleware/user.go +++ b/pkg/web/middleware/user.go @@ -6,7 +6,7 @@ import ( "github.com/xlgmokha/x/pkg/log" "github.com/xlgmokha/x/pkg/mapper" "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/key" "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/oidc" ) diff --git a/pkg/web/middleware/user_test.go b/pkg/web/middleware/user_test.go index c18bfdb..b09fa7b 100644 --- a/pkg/web/middleware/user_test.go +++ b/pkg/web/middleware/user_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "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/oidc" "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/pls" -- cgit v1.2.3