| @@ -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" | ||||
| ) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user