Fixing go get error

Get this on install:

    ../../jinzhu/gorm/utils.go:137: syntax error: unexpected range, expecting {
    ../../jinzhu/gorm/utils.go:147: non-declaration statement outside function body
    ../../jinzhu/gorm/utils.go:148: syntax error: unexpected }
This commit is contained in:
Nick Sarbicki 2016-07-16 14:14:46 +01:00 committed by Jinzhu
parent 9cdda4e8ee
commit 084968cc0a
1 changed files with 1 additions and 1 deletions

View File

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