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 GitHub
parent b507cdf93d
commit d7fa7d0859
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,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, "?")
} }