this fixes syntax error

relevant issue: https://github.com/jinzhu/gorm/issues/588
This commit is contained in:
Rahul Ghose 2015-07-31 16:52:46 +05:30
parent 25ba9487aa
commit 1c227d4243
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ func toQueryMarks(primaryValues [][]interface{}) string {
for _, primaryValue := range primaryValues { for _, primaryValue := range primaryValues {
var marks []string var marks []string
for range primaryValue { for _,_ = range primaryValue {
marks = append(marks, "?") marks = append(marks, "?")
} }