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" "log"
"github.com/shurcooL/vfsgen" "github.com/shurcooL/vfsgen"
"github.com/unistack-org/protoc-gen-micro/assets" "github.com/unistack-org/protoc-gen-micro/v3/assets"
) )
func main() { func main() {

View File

@ -15,8 +15,8 @@ import (
"github.com/golang/protobuf/protoc-gen-go/descriptor" "github.com/golang/protobuf/protoc-gen-go/descriptor"
plugin_go "github.com/golang/protobuf/protoc-gen-go/plugin" plugin_go "github.com/golang/protobuf/protoc-gen-go/plugin"
"github.com/unistack-org/protoc-gen-micro/assets" "github.com/unistack-org/protoc-gen-micro/v3/assets"
pgghelpers "github.com/unistack-org/protoc-gen-micro/helpers" pgghelpers "github.com/unistack-org/protoc-gen-micro/v3/helpers"
) )
type GenericTemplateBasedEncoder struct { type GenericTemplateBasedEncoder struct {

2
go.mod generated
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 go 1.15

View File

@ -12,7 +12,7 @@ import (
"github.com/golang/protobuf/protoc-gen-go/generator" "github.com/golang/protobuf/protoc-gen-go/generator"
plugin_go "github.com/golang/protobuf/protoc-gen-go/plugin" plugin_go "github.com/golang/protobuf/protoc-gen-go/plugin"
ggdescriptor "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor" 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" "google.golang.org/protobuf/proto"
) )