From 96e103333593975922d115298e85ce94ee0fc4dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=83=20Dmitry=20=28=E2=97=95=E1=B4=A5=E2=97=95=29?= Date: Mon, 1 Aug 2016 20:48:08 +0900 Subject: [PATCH] Fix typos --- documents/associations.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documents/associations.md b/documents/associations.md index 213c6f6e..62dcb0b0 100644 --- a/documents/associations.md +++ b/documents/associations.md @@ -136,7 +136,7 @@ type Profile struct { type User struct { gorm.Model - Profile []Profiles `gorm:"ForeignKey:UserRefer"` + Profiles []Profile `gorm:"ForeignKey:UserRefer"` } ``` @@ -152,7 +152,7 @@ type Profile struct { type User struct { gorm.Model Refer string - Profile []Profiles `gorm:"ForeignKey:UserID;AssociationForeignKey:Refer"` + Profiles []Profile `gorm:"ForeignKey:UserID;AssociationForeignKey:Refer"` } ```