update to v3
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
e173bffd10
commit
45a0f7b969
@ -6,7 +6,7 @@ import (
|
||||
"log"
|
||||
|
||||
"github.com/shurcooL/vfsgen"
|
||||
"github.com/unistack-org/protoc-gen-micro/assets"
|
||||
"github.com/unistack-org/protoc-gen-micro/v3/assets"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -15,8 +15,8 @@ import (
|
||||
|
||||
"github.com/golang/protobuf/protoc-gen-go/descriptor"
|
||||
plugin_go "github.com/golang/protobuf/protoc-gen-go/plugin"
|
||||
"github.com/unistack-org/protoc-gen-micro/assets"
|
||||
pgghelpers "github.com/unistack-org/protoc-gen-micro/helpers"
|
||||
"github.com/unistack-org/protoc-gen-micro/v3/assets"
|
||||
pgghelpers "github.com/unistack-org/protoc-gen-micro/v3/helpers"
|
||||
)
|
||||
|
||||
type GenericTemplateBasedEncoder struct {
|
||||
|
2
go.mod
generated
2
go.mod
generated
@ -1,4 +1,4 @@
|
||||
module github.com/unistack-org/protoc-gen-micro
|
||||
module github.com/unistack-org/protoc-gen-micro/v3
|
||||
|
||||
go 1.15
|
||||
|
||||
|
2
main.go
2
main.go
@ -12,7 +12,7 @@ import (
|
||||
"github.com/golang/protobuf/protoc-gen-go/generator"
|
||||
plugin_go "github.com/golang/protobuf/protoc-gen-go/plugin"
|
||||
ggdescriptor "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor"
|
||||
pgghelpers "github.com/unistack-org/protoc-gen-micro/helpers"
|
||||
pgghelpers "github.com/unistack-org/protoc-gen-micro/v3/helpers"
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user