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"
|
"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() {
|
||||||
|
@ -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
2
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
|
go 1.15
|
||||||
|
|
||||||
|
2
main.go
2
main.go
@ -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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user