Match case from above

This commit is contained in:
Tim Schaub 2014-09-05 15:00:26 -06:00
parent 58ff124210
commit 09d3c5dff0

View File

@ -30,7 +30,7 @@ var user User
db.First(&user) db.First(&user)
// creating a new 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 * Column name is the snake case of field's name