Match case from above

This commit is contained in:
Tim Schaub 2014-09-05 15:00:26 -06:00
parent 58ff124210
commit 09d3c5dff0
1 changed files with 1 additions and 1 deletions

View File

@ -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