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:
John Belamaric 2017-02-15 11:38:55 -05:00 committed by Miek Gieben
parent 34db56a22e
commit 84fb9b8469

View file

@ -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"