diff --git a/README.md b/README.md index d946c7aa..db9e32d7 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ var user User db.First(&user) // creating a new User -DB.Save(&User{Name: "xxx"}) // table "users" +db.Save(&User{Name: "xxx"}) // table "users" ``` * Column name is the snake case of field's name