mirror of https://github.com/go-gorm/gorm.git
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:
parent
9cdda4e8ee
commit
084968cc0a
2
utils.go
2
utils.go
|
@ -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, "?")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue