From ee48d6986c4f88a42b5dfc3b230cf9d198f2de6f Mon Sep 17 00:00:00 2001 From: Jinzhu Date: Mon, 11 Jan 2016 07:28:08 +0800 Subject: [PATCH] Update README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e85e8e02..fa710802 100644 --- a/README.md +++ b/README.md @@ -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