Commit 84fb9b84 authored by John Belamaric's avatar John Belamaric Committed by Miek Gieben

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.
parent 34db56a2
...@@ -56,7 +56,7 @@ func genImports(file, pack string, mi map[string]string) { ...@@ -56,7 +56,7 @@ func genImports(file, pack string, mi map[string]string) {
} }
for _, v := range mi { for _, v := range mi {
outs += `_ "` + v + `\` + "\n" outs += `_ "` + v + `"` + "\n"
} }
outs += ")\n" outs += ")\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment