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:
parent
e7dbda689e
commit
9f4770e7fd
@ -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:
|
||||
|
@ -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
|
||||
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user