From ff8c9937931257f454d261822301593f75cc533c Mon Sep 17 00:00:00 2001 From: fan_wang Date: Wed, 19 Sep 2018 17:06:15 +0800 Subject: [PATCH] modify readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 23a4194..4a7797e 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ func main() { // Or you can use an existing DB "abc" like this: // The adapter will use the table named "casbin_rule". // If it doesn't exist, the adapter will create it automatically. - // a := mongodbadapter.NewAdapter("127.0.0.1:27017/abc", true) + // a := mongodbadapter.NewAdapter("127.0.0.1:27017/abc") e := casbin.NewEnforcer("examples/rbac_model.conf", a)