diff options
| author | mo khan <mo@mokhan.ca> | 2025-05-23 16:31:38 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-05-23 16:31:38 -0600 |
| commit | 3335636fe9aa21b330b68c4876d93c1439dc9965 (patch) | |
| tree | e538f23e4a4e504117a084dd57d9acb3a3175718 | |
| parent | bb757ca729b21926c6e0e93fafdba04aad7f83ef (diff) | |
chore: update module name to match git location
| -rw-r--r-- | app/app.go | 4 | ||||
| -rw-r--r-- | app/app_test.go | 2 | ||||
| -rw-r--r-- | app/services/ability.go | 6 | ||||
| -rw-r--r-- | cmd/authzd/main.go | 2 | ||||
| -rw-r--r-- | go.mod | 4 | ||||
| -rw-r--r-- | pkg/policies/allowed_test.go | 2 |
6 files changed, 10 insertions, 10 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/authz.d/app/services" - "gitlab.com/gitlab-org/software-supply-chain-security/authorization/authz.d/pkg/rpc" + "gitlab.com/gitlab-org/software-supply-chain-security/authorization/authzd/app/services" + "gitlab.com/gitlab-org/software-supply-chain-security/authorization/authzd/pkg/rpc" ) func New() http.Handler { diff --git a/app/app_test.go b/app/app_test.go index 8aaaaee0..f3168bd5 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/authz.d/pkg/rpc" + "gitlab.com/gitlab-org/software-supply-chain-security/authorization/authzd/pkg/rpc" ) func TestApp(t *testing.T) { diff --git a/app/services/ability.go b/app/services/ability.go index 2f119dcc..1d094b01 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/authz.d/pkg/gid" - "gitlab.com/gitlab-org/software-supply-chain-security/authorization/authz.d/pkg/policies" - "gitlab.com/gitlab-org/software-supply-chain-security/authorization/authz.d/pkg/rpc" + "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" ) type AbilityService struct { diff --git a/cmd/authzd/main.go b/cmd/authzd/main.go index a18c437b..8d31cbac 100644 --- a/cmd/authzd/main.go +++ b/cmd/authzd/main.go @@ -6,7 +6,7 @@ import ( "net/http" "github.com/xlgmokha/x/pkg/env" - "gitlab.com/gitlab-org/software-supply-chain-security/authorization/authz.d/app" + "gitlab.com/gitlab-org/software-supply-chain-security/authorization/authzd/app" ) func main() { @@ -1,6 +1,6 @@ -module gitlab.com/gitlab-org/software-supply-chain-security/authorization/authz.d +module gitlab.com/gitlab-org/software-supply-chain-security/authorization/authzd -go 1.24.0 +go 1.24 require ( github.com/cedar-policy/cedar-go v1.2.1 diff --git a/pkg/policies/allowed_test.go b/pkg/policies/allowed_test.go index 7963e8df..8c60f7f3 100644 --- a/pkg/policies/allowed_test.go +++ b/pkg/policies/allowed_test.go @@ -6,7 +6,7 @@ import ( "github.com/cedar-policy/cedar-go" "github.com/stretchr/testify/assert" - "gitlab.com/gitlab-org/software-supply-chain-security/authorization/authz.d/pkg/gid" + "gitlab.com/gitlab-org/software-supply-chain-security/authorization/authzd/pkg/gid" ) func build(f func(*cedar.Request)) *cedar.Request { |
