Skip to content

Commit 581bda7

Browse files
committed
feat: update repo path
1 parent 1513946 commit 581bda7

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# Go-pg Adapter
22

3-
[![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)
3+
[![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)
44
[![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)
55

66
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.
77

88
## Installation
99

10-
go get github.com/casbin/casbin-pg-adapter
10+
go get github.com/apache/casbin-pg-adapter
1111

1212
## Simple Postgres Example
1313

1414
```go
1515
package main
1616

1717
import (
18-
pgadapter "github.com/casbin/casbin-pg-adapter"
18+
pgadapter "github.com/apache/casbin-pg-adapter"
1919
"github.com/casbin/casbin/v2"
2020
)
2121

@@ -63,7 +63,7 @@ package main
6363

6464
import (
6565
"github.com/casbin/casbin/v2"
66-
pgadapter "github.com/casbin/casbin-pg-adapter"
66+
pgadapter "github.com/apache/casbin-pg-adapter"
6767
)
6868

6969
func main() {
@@ -87,7 +87,7 @@ package main
8787

8888
import (
8989
"github.com/casbin/casbin/v2"
90-
pgadapter "github.com/casbin/casbin-pg-adapter"
90+
pgadapter "github.com/apache/casbin-pg-adapter"
9191
"github.com/go-pg/pg/v9"
9292
)
9393

@@ -109,7 +109,7 @@ func main() {
109109

110110
## Debug tests
111111

112-
docker-compose run --rm go dlv test github.com/casbin/casbin-pg-adapter
112+
docker-compose run --rm go dlv test github.com/apache/casbin-pg-adapter
113113

114114
## Getting Help
115115

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ services:
2222
command:
2323
- go
2424
- test
25-
- github.com/casbin/casbin-pg-adapter
25+
- github.com/apache/casbin-pg-adapter
2626

2727
volumes:
2828
gopkg:

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/casbin/casbin-pg-adapter
1+
module github.com/apache/casbin-pg-adapter
22

33
go 1.18
44

pgexample/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
pgadapter "github.com/casbin/casbin-pg-adapter"
4+
pgadapter "github.com/apache/casbin-pg-adapter"
55
"github.com/casbin/casbin/v3"
66
)
77

0 commit comments

Comments
 (0)