1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-30 10:10:44 +02:00

fix generation (#2312)

This commit is contained in:
Asim Aslam 2021-10-15 14:03:40 +01:00 committed by GitHub
parent e7dbda689e
commit 9f4770e7fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@ This is protobuf code generation for go-micro. We use protoc-gen-micro to reduce
## Install
```
go install go-micro.dev/cmd/protoc-gen-micro/v4@latest
go install github.com/asim/go-micro/cmd/protoc-gen-micro/v4@latest
```
Also required:

View File

@ -1,4 +1,4 @@
module go-micro.dev/cmd/protoc-gen-micro/v4
module github.com/asim/go-micro/cmd/protoc-gen-micro/v4
go 1.16

View File

@ -52,8 +52,8 @@ import (
"io/ioutil"
"os"
"go-micro.dev/cmd/protoc-gen-micro/v4/generator"
_ "go-micro.dev/cmd/protoc-gen-micro/v4/plugin/micro"
"github.com/asim/go-micro/cmd/protoc-gen-micro/v4/generator"
_ "github.com/asim/go-micro/cmd/protoc-gen-micro/v4/plugin/micro"
"google.golang.org/protobuf/proto"
)

View File

@ -6,7 +6,7 @@ import (
"strconv"
"strings"
"go-micro.dev/cmd/protoc-gen-micro/v4/generator"
"github.com/asim/go-micro/cmd/protoc-gen-micro/v4/generator"
options "google.golang.org/genproto/googleapis/api/annotations"
"google.golang.org/protobuf/proto"
pb "google.golang.org/protobuf/types/descriptorpb"