From 084968cc0add5eec52a1f5d90ee0a8738d0ac83f Mon Sep 17 00:00:00 2001 From: Nick Sarbicki Date: Sat, 16 Jul 2016 14:14:46 +0100 Subject: [PATCH] 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 } --- utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.go b/utils.go index dc69e804..ba1f08ab 100644 --- a/utils.go +++ b/utils.go @@ -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, "?") }