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)