Revert "fix protoc-gen-micro"

This reverts commit 47d007c0b6.
This commit is contained in:
Василий Толстов 2020-08-31 11:51:30 +03:00
parent 47d007c0b6
commit 7c115823a7

View File

@ -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)
}