Skip to content

Commit

Permalink
fix: sync default db name (#18)
Browse files Browse the repository at this point in the history
Signed-off-by: abingcbc <abingcbc626@gmail.com>
  • Loading branch information
Abingcbc authored Jan 7, 2022
1 parent 5187622 commit 36469c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (

func main() {
// Initialize a Beego ORM adapter and use it in a Casbin enforcer:
a, err := beegoormadapter.NewAdapter("default", "mysql", "mysql_username:mysql_password@tcp(127.0.0.1:3306)/dbname") // Your driver and data source.
a, err := beegoormadapter.NewAdapter("casbin", "mysql", "mysql_username:mysql_password@tcp(127.0.0.1:3306)/dbname") // Your driver and data source.
if err != nil {
log.Fatalln(err)
}
Expand Down

0 comments on commit 36469c7

Please sign in to comment.