update to v3

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2021-02-02 14:07:31 +03:00
parent e173bffd10
commit 45a0f7b969
4 changed files with 5 additions and 5 deletions

View File

@ -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() {

View File

@ -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
View File

@ -1,4 +1,4 @@
module github.com/unistack-org/protoc-gen-micro
module github.com/unistack-org/protoc-gen-micro/v3
go 1.15

View File

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