Update README

This commit is contained in:
Jinzhu 2016-01-11 07:28:08 +08:00
parent 84942c60b8
commit ee48d6986c
1 changed files with 1 additions and 1 deletions

View File

@ -595,7 +595,7 @@ db.Model(&user).Related(&profile)
### Has Many
```go
// User belongs to a profile, ProfileID is the foreign key
// User has many emails, UserID is the foreign key
type User struct {
gorm.Model
Emails []Email