diff options
| author | mo khan <mo@mokhan.ca> | 2025-04-25 11:00:53 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-04-25 11:00:53 -0600 |
| commit | 0053db0d265af313dd281db5cf1e73236cde30c6 (patch) | |
| tree | 2ec76a6d42fc903aaa1d0e135addd95d1fd945e4 /pkg/web/middleware | |
| parent | 33981e04bebe39c16d3bbb3af84c8772b00102fd (diff) | |
refactor: move domain package into app
Diffstat (limited to 'pkg/web/middleware')
| -rw-r--r-- | pkg/web/middleware/init.go | 2 | ||||
| -rw-r--r-- | pkg/web/middleware/require_user_test.go | 2 | ||||
| -rw-r--r-- | pkg/web/middleware/user.go | 2 | ||||
| -rw-r--r-- | pkg/web/middleware/user_test.go | 2 |
4 files changed, 4 insertions, 4 deletions
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" |
