1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-11-29 21:47:44 +02:00

try fixing staticcheck warning (#2190)

https://github.com/golang/protobuf/issues/1077
package github.com/golang/protobuf/proto is deprecated: Use the "google.golang.org/protobuf/proto" package instead.  (SA1019)
This commit is contained in:
Johnson C
2021-07-06 19:51:28 +08:00
committed by GitHub
parent 1c482e8922
commit 7f1de77e8c
10 changed files with 251 additions and 337 deletions

View File

@@ -54,7 +54,7 @@ import (
"github.com/asim/go-micro/cmd/protoc-gen-micro/v3/generator"
_ "github.com/asim/go-micro/cmd/protoc-gen-micro/v3/plugin/micro"
"github.com/golang/protobuf/proto"
"google.golang.org/protobuf/proto"
)
func main() {