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-mongodb-adapter.git
The following commit(s) were added to refs/heads/master by this push:
new 3463383 feat: use apache module path and keep major version at v4
3463383 is described below
commit 3463383afb3fe670d01910f661c1fe5807c2dc16
Author: Yang Luo <[email protected]>
AuthorDate: Wed Aug 5 22:51:27 2026 +0800
feat: use apache module path and keep major version at v4
---
README.md | 8 ++++----
go.mod | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index 9eacbe0..0cd4084 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,11 @@
-MongoDB Adapter
[](https://github.com/casbin/mongodb-adapter/actions/workflows/ci.yml)
[](https://coveralls.io/github/casbin/mongodb-adapter?branch=master)
[](https://godoc.org/github.com/casbin/mongodb-adapter)
+MongoDB Adapter
[](https://github.com/apache/casbin-mongodb-adapter/actions/workflows/ci.yml)
[](https://coveralls.io/github/apache/casbin-mongodb-adapter?branch=master)
[](https://godoc.org/github.com/apache/casbin-
[...]
====
MongoDB Adapter is the [Mongo DB](https://www.mongodb.com) adapter for
[Casbin](https://github.com/casbin/casbin). With this library, Casbin can load
policy from MongoDB or save policy to it.
## Installation
- go get -u github.com/casbin/mongodb-adapter/v4
+ go get -u github.com/apache/casbin-mongodb-adapter/v4
## Simple Example
@@ -14,7 +14,7 @@ package main
import (
"github.com/casbin/casbin/v3"
- "github.com/casbin/mongodb-adapter/v4"
+ "github.com/apache/casbin-mongodb-adapter/v4"
)
func main() {
@@ -56,7 +56,7 @@ package main
import (
"github.com/casbin/casbin/v3"
- "github.com/casbin/mongodb-adapter/v4"
+ "github.com/apache/casbin-mongodb-adapter/v4"
mongooptions "go.mongodb.org/mongo-driver/mongo/options"
)
diff --git a/go.mod b/go.mod
index 4da9bb6..108727b 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module github.com/casbin/mongodb-adapter/v4
+module github.com/apache/casbin-mongodb-adapter/v4
go 1.20
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]