From 983b0e348164b67a612e36d8421a4c66f2b71458 Mon Sep 17 00:00:00 2001 From: Yang Qing Date: Fri, 5 Jul 2019 16:58:39 +0800 Subject: [PATCH] fix typo --- polymorphic_many2many_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/polymorphic_many2many_test.go b/polymorphic_many2many_test.go index 3e81f001..b50978a7 100644 --- a/polymorphic_many2many_test.go +++ b/polymorphic_many2many_test.go @@ -24,19 +24,19 @@ import ( // taggable_type - string type SimplePost struct { - Id int + ID int Name string Tags []*SimpleTag `gorm:"many2many:taggables;polymorphic:taggable;"` } type SimpleVideo struct { - Id int + ID int Name string Tags []*SimpleTag `gorm:"many2many:taggables;polymorphic:taggable;polymorphic_value:video"` } type SimpleTag struct { - Id int + ID int Name string }