diff options
| author | mo khan <mo@mokhan.ca> | 2025-05-23 17:00:07 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-05-23 17:00:07 -0600 |
| commit | aebf1323e4705e517e9dd2dbf4efab6f39c63f86 (patch) | |
| tree | a681b62f5693b5012a332af0f6ee90653158a0a8 /app | |
| parent | 3335636fe9aa21b330b68c4876d93c1439dc9965 (diff) | |
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
Diffstat (limited to 'app')
| -rw-r--r-- | app/app.go | 4 | ||||
| -rw-r--r-- | app/app_test.go | 2 | ||||
| -rw-r--r-- | app/services/ability.go | 6 |
3 files changed, 6 insertions, 6 deletions
@@ -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 { |
