Fix make gen (#526)
When using an external middleware, the generated file was failing to compile. The issue is a typo in directives_generate.go that left imports with an unterminated string.
This commit is contained in:
parent
34db56a22e
commit
84fb9b8469
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ func genImports(file, pack string, mi map[string]string) {
|
|||
}
|
||||
|
||||
for _, v := range mi {
|
||||
outs += `_ "` + v + `\` + "\n"
|
||||
outs += `_ "` + v + `"` + "\n"
|
||||
}
|
||||
outs += ")\n"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue