summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-04-25 11:00:53 -0600
committermo khan <mo@mokhan.ca>2025-04-25 11:00:53 -0600
commit0053db0d265af313dd281db5cf1e73236cde30c6 (patch)
tree2ec76a6d42fc903aaa1d0e135addd95d1fd945e4 /app/controllers
parent33981e04bebe39c16d3bbb3af84c8772b00102fd (diff)
refactor: move domain package into app
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/dashboard/controller_test.go2
-rw-r--r--app/controllers/dashboard/dto.go2
-rw-r--r--app/controllers/sparkles/controller.go2
-rw-r--r--app/controllers/sparkles/controller_test.go2
-rw-r--r--app/controllers/sparkles/init.go2
5 files changed, 5 insertions, 5 deletions
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"
)