You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@casbin.apache.org by hs...@apache.org on 2026/06/16 13:39:03 UTC

(casbin-pg-adapter) branch master updated: feat: update repo path

This is an automated email from the ASF dual-hosted git repository.

hsluoyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/casbin-pg-adapter.git


The following commit(s) were added to refs/heads/master by this push:
     new 581bda7  feat: update repo path
581bda7 is described below

commit 581bda7b5190b39b0c4a13a3743cf2f476e828eb
Author: Yang Luo <hs...@gmail.com>
AuthorDate: Tue Jun 16 21:38:53 2026 +0800

    feat: update repo path
---
 README.md          | 12 ++++++------
 docker-compose.yml |  2 +-
 go.mod             |  2 +-
 pgexample/main.go  |  2 +-
 4 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/README.md b/README.md
index ee3321a..c3c4dd3 100644
--- a/README.md
+++ b/README.md
@@ -1,13 +1,13 @@
 # Go-pg Adapter
 
-[![Go](https://github.com/casbin/casbin-pg-adapter/actions/workflows/ci.yml/badge.svg)](https://github.com/casbin/casbin-pg-adapter/actions/workflows/ci.yml)
+[![Go](https://github.com/apache/casbin-pg-adapter/actions/workflows/ci.yml/badge.svg)](https://github.com/apache/casbin-pg-adapter/actions/workflows/ci.yml)
 [![Coverage Status](https://coveralls.io/repos/github/casbin/casbin-pg-adapter/badge.svg?branch=master)](https://coveralls.io/github/casbin/casbin-pg-adapter?branch=master)
 
 Go-pg Adapter is the [Go-pg](https://github.com/go-pg/pg) adapter for [Casbin](https://github.com/casbin/casbin). With this library, Casbin can load policy from PostgreSQL or save policy to it.
 
 ## Installation
 
-    go get github.com/casbin/casbin-pg-adapter
+    go get github.com/apache/casbin-pg-adapter
 
 ## Simple Postgres Example
 
@@ -15,7 +15,7 @@ Go-pg Adapter is the [Go-pg](https://github.com/go-pg/pg) adapter for [Casbin](h
 package main
 
 import (
-	pgadapter "github.com/casbin/casbin-pg-adapter"
+	pgadapter "github.com/apache/casbin-pg-adapter"
 	"github.com/casbin/casbin/v2"
 )
 
@@ -63,7 +63,7 @@ package main
 
 import (
 	"github.com/casbin/casbin/v2"
-	pgadapter "github.com/casbin/casbin-pg-adapter"
+	pgadapter "github.com/apache/casbin-pg-adapter"
 )
 
 func main() {
@@ -87,7 +87,7 @@ package main
 
 import (
 	"github.com/casbin/casbin/v2"
-	pgadapter "github.com/casbin/casbin-pg-adapter"
+	pgadapter "github.com/apache/casbin-pg-adapter"
 	"github.com/go-pg/pg/v9"
 )
 
@@ -109,7 +109,7 @@ func main() {
 
 ## Debug tests
 
-    docker-compose run --rm go dlv test github.com/casbin/casbin-pg-adapter
+    docker-compose run --rm go dlv test github.com/apache/casbin-pg-adapter
 
 ## Getting Help
 
diff --git a/docker-compose.yml b/docker-compose.yml
index c92aaa3..cde3093 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -22,7 +22,7 @@ services:
     command:
       - go
       - test
-      - github.com/casbin/casbin-pg-adapter
+      - github.com/apache/casbin-pg-adapter
 
 volumes:
   gopkg:
diff --git a/go.mod b/go.mod
index 093e371..0596dd9 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module github.com/casbin/casbin-pg-adapter
+module github.com/apache/casbin-pg-adapter
 
 go 1.18
 
diff --git a/pgexample/main.go b/pgexample/main.go
index 4c597e5..864c101 100644
--- a/pgexample/main.go
+++ b/pgexample/main.go
@@ -1,7 +1,7 @@
 package main
 
 import (
-	pgadapter "github.com/casbin/casbin-pg-adapter"
+	pgadapter "github.com/apache/casbin-pg-adapter"
 	"github.com/casbin/casbin/v3"
 )
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@casbin.apache.org
For additional commands, e-mail: commits-help@casbin.apache.org