From aebf1323e4705e517e9dd2dbf4efab6f39c63f86 Mon Sep 17 00:00:00 2001 From: mo khan Date: Fri, 23 May 2025 17:00:07 -0600 Subject: chore: append .git to module name Apply workaround described in: https://docs.gitlab.com/user/project/use_project_as_go_package/#workaround-use-git-in-the-module-name --- app/app.go | 4 ++-- app/app_test.go | 2 +- app/services/ability.go | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'app') diff --git a/app/app.go b/app/app.go index 0f2068df..f79b67b1 100644 --- a/app/app.go +++ b/app/app.go @@ -6,8 +6,8 @@ import ( "github.com/rs/zerolog" "github.com/xlgmokha/x/pkg/ioc" "github.com/xlgmokha/x/pkg/log" - "gitlab.com/gitlab-org/software-supply-chain-security/authorization/authzd/app/services" - "gitlab.com/gitlab-org/software-supply-chain-security/authorization/authzd/pkg/rpc" + "gitlab.com/gitlab-org/software-supply-chain-security/authorization/authzd.git/app/services" + "gitlab.com/gitlab-org/software-supply-chain-security/authorization/authzd.git/pkg/rpc" ) func New() http.Handler { diff --git a/app/app_test.go b/app/app_test.go index f3168bd5..fcdee36c 100644 --- a/app/app_test.go +++ b/app/app_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/software-supply-chain-security/authorization/authzd/pkg/rpc" + "gitlab.com/gitlab-org/software-supply-chain-security/authorization/authzd.git/pkg/rpc" ) func TestApp(t *testing.T) { diff --git a/app/services/ability.go b/app/services/ability.go index 1d094b01..f0379513 100644 --- a/app/services/ability.go +++ b/app/services/ability.go @@ -4,9 +4,9 @@ import ( context "context" "github.com/cedar-policy/cedar-go" - "gitlab.com/gitlab-org/software-supply-chain-security/authorization/authzd/pkg/gid" - "gitlab.com/gitlab-org/software-supply-chain-security/authorization/authzd/pkg/policies" - "gitlab.com/gitlab-org/software-supply-chain-security/authorization/authzd/pkg/rpc" + "gitlab.com/gitlab-org/software-supply-chain-security/authorization/authzd.git/pkg/gid" + "gitlab.com/gitlab-org/software-supply-chain-security/authorization/authzd.git/pkg/policies" + "gitlab.com/gitlab-org/software-supply-chain-security/authorization/authzd.git/pkg/rpc" ) type AbilityService struct { -- cgit v1.2.3