summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-04-14 09:40:52 -0600
committermo khan <mo@mokhan.ca>2025-04-14 09:40:52 -0600
commit37ba0e25b1760778d1edda25b84ff43023670eae (patch)
tree66924a00de96ab85f7a2aaf55954db41e9c93c19
parent0bef608297d7def2a18d054e7230fe0e0a3710a7 (diff)
fix: update go mod namespace
-rw-r--r--app/app.go8
-rw-r--r--app/app_test.go2
-rw-r--r--app/controllers/sparkles/controller.go4
-rw-r--r--app/controllers/sparkles/controller_test.go6
-rw-r--r--app/init.go6
-rw-r--r--cmd/sparkled/main.go2
-rw-r--r--go.mod2
-rw-r--r--pkg/db/repository.go4
-rw-r--r--pkg/db/repository_test.go2
-rw-r--r--pkg/domain/sparkle.go2
10 files changed, 19 insertions, 19 deletions
diff --git a/app/app.go b/app/app.go
index 3edd5f3..0d3dd05 100644
--- a/app/app.go
+++ b/app/app.go
@@ -4,10 +4,10 @@ import (
"net/http"
"github.com/xlgmokha/x/pkg/ioc"
- "gitlab.com/mokhax/sparkled/app/controllers/health"
- "gitlab.com/mokhax/sparkled/app/controllers/sparkles"
- "gitlab.com/mokhax/sparkled/pkg/db"
- "gitlab.com/mokhax/sparkled/pkg/web"
+ "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/app/controllers/health"
+ "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/app/controllers/sparkles"
+ "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/db"
+ "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/web"
)
func New() http.Handler {
diff --git a/app/app_test.go b/app/app_test.go
index d54397e..27f5f9c 100644
--- a/app/app_test.go
+++ b/app/app_test.go
@@ -6,7 +6,7 @@ import (
"testing"
"github.com/stretchr/testify/assert"
- "gitlab.com/mokhax/sparkled/pkg/test"
+ "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/test"
)
func TestApp(t *testing.T) {
diff --git a/app/controllers/sparkles/controller.go b/app/controllers/sparkles/controller.go
index f00f40c..061b5c6 100644
--- a/app/controllers/sparkles/controller.go
+++ b/app/controllers/sparkles/controller.go
@@ -4,8 +4,8 @@ import (
"net/http"
"github.com/xlgmokha/x/pkg/serde"
- "gitlab.com/mokhax/sparkled/pkg/db"
- "gitlab.com/mokhax/sparkled/pkg/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"
)
type Controller struct {
diff --git a/app/controllers/sparkles/controller_test.go b/app/controllers/sparkles/controller_test.go
index a351da1..00490d7 100644
--- a/app/controllers/sparkles/controller_test.go
+++ b/app/controllers/sparkles/controller_test.go
@@ -8,9 +8,9 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/xlgmokha/x/pkg/serde"
- "gitlab.com/mokhax/sparkled/pkg/db"
- "gitlab.com/mokhax/sparkled/pkg/domain"
- "gitlab.com/mokhax/sparkled/pkg/test"
+ "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/test"
)
func TestSparkles(t *testing.T) {
diff --git a/app/init.go b/app/init.go
index e48713d..9ff7bec 100644
--- a/app/init.go
+++ b/app/init.go
@@ -4,9 +4,9 @@ import (
"net/http"
"github.com/xlgmokha/x/pkg/ioc"
- "gitlab.com/mokhax/sparkled/app/controllers/health"
- "gitlab.com/mokhax/sparkled/app/controllers/sparkles"
- "gitlab.com/mokhax/sparkled/pkg/db"
+ "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/app/controllers/health"
+ "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/app/controllers/sparkles"
+ "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/db"
)
func init() {
diff --git a/cmd/sparkled/main.go b/cmd/sparkled/main.go
index 13ba03b..5eec970 100644
--- a/cmd/sparkled/main.go
+++ b/cmd/sparkled/main.go
@@ -5,7 +5,7 @@ import (
"net/http"
"github.com/xlgmokha/x/pkg/env"
- "gitlab.com/mokhax/sparkled/app"
+ "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/app"
)
func main() {
diff --git a/go.mod b/go.mod
index 89eb908..164a204 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module gitlab.com/mokhax/sparkled
+module gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled
go 1.24.0
diff --git a/pkg/db/repository.go b/pkg/db/repository.go
index d8a5990..aaa6e51 100644
--- a/pkg/db/repository.go
+++ b/pkg/db/repository.go
@@ -1,8 +1,8 @@
package db
import (
- "gitlab.com/mokhax/sparkled/pkg/domain"
- "gitlab.com/mokhax/sparkled/pkg/pls"
+ "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/domain"
+ "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/pls"
)
type Repository interface {
diff --git a/pkg/db/repository_test.go b/pkg/db/repository_test.go
index 7a9938c..6d4ee24 100644
--- a/pkg/db/repository_test.go
+++ b/pkg/db/repository_test.go
@@ -5,7 +5,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
- "gitlab.com/mokhax/sparkled/pkg/domain"
+ "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/domain"
)
func TestRepository(t *testing.T) {
diff --git a/pkg/domain/sparkle.go b/pkg/domain/sparkle.go
index 54ccb13..a139d56 100644
--- a/pkg/domain/sparkle.go
+++ b/pkg/domain/sparkle.go
@@ -4,7 +4,7 @@ import (
"errors"
"regexp"
- "gitlab.com/mokhax/sparkled/pkg/pls"
+ "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/pls"
)
type Sparkle struct {