Skip to content

Commit

Permalink
Merge 54e21d5 into fdbc7b5
Browse files Browse the repository at this point in the history
  • Loading branch information
argoergo committed Dec 11, 2019
2 parents fdbc7b5 + 54e21d5 commit eec60f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codegen/method.go
Expand Up @@ -1437,7 +1437,7 @@ func (ms *MethodSpec) setParseQueryParamStatements(
"%s%s := make(map[%s]struct{}, len(%s))",
indent, target, customElemType, identifierName,
)
statements.appendf("%sfor _, v := range %s {", indent, identifierName)
statements.appendf("%sfor %s := range %s {", indent, valVar, identifierName)
indent += "\t"
if isEnumElem {
tmpVar := "_tmp" + valVar
Expand Down

0 comments on commit eec60f4

Please sign in to comment.