From 1c227d4243c5083689d7e467c42fdea9af93d24e Mon Sep 17 00:00:00 2001 From: Rahul Ghose Date: Fri, 31 Jul 2015 16:52:46 +0530 Subject: [PATCH] this fixes syntax error relevant issue: https://github.com/jinzhu/gorm/issues/588 --- association.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/association.go b/association.go index 4d3fb15f..342dd6cd 100644 --- a/association.go +++ b/association.go @@ -230,7 +230,7 @@ func toQueryMarks(primaryValues [][]interface{}) string { for _, primaryValue := range primaryValues { var marks []string - for range primaryValue { + for _,_ = range primaryValue { marks = append(marks, "?") }