Revert "fix protoc-gen-micro"
This reverts commit 47d007c0b67fe887f2091063a305e0efb4a878a1.
This commit is contained in:
parent
47d007c0b6
commit
7c115823a7
@ -1246,7 +1246,7 @@ func (g *Generator) generateImports() {
|
||||
g.P("import (")
|
||||
g.P(g.Pkg["fmt"] + ` "fmt"`)
|
||||
g.P(g.Pkg["math"] + ` "math"`)
|
||||
g.P(g.Pkg["proto"]+" ", GoImportPath(g.ImportPrefix)+"google.golang.org/protobuf/proto")
|
||||
g.P(g.Pkg["proto"]+" ", GoImportPath(g.ImportPrefix)+"github.com/golang/protobuf/proto")
|
||||
for importPath, packageName := range imports {
|
||||
g.P(packageName, " ", GoImportPath(g.ImportPrefix)+importPath)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user