From 45a0f7b969372b21f7694c7fdcb2da7d1b4d68d1 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Tue, 2 Feb 2021 14:07:31 +0300 Subject: [PATCH] update to v3 Signed-off-by: Vasiliy Tolstov --- assets.go | 2 +- encoder.go | 4 ++-- go.mod | 2 +- main.go | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/assets.go b/assets.go index a8a7e42..8554773 100644 --- a/assets.go +++ b/assets.go @@ -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() { diff --git a/encoder.go b/encoder.go index d6d6263..cc2b02c 100644 --- a/encoder.go +++ b/encoder.go @@ -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 { diff --git a/go.mod b/go.mod index bceaa12..f27def9 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/unistack-org/protoc-gen-micro +module github.com/unistack-org/protoc-gen-micro/v3 go 1.15 diff --git a/main.go b/main.go index 3b25de8..f00b409 100644 --- a/main.go +++ b/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" )