mirror of
				https://github.com/go-micro/go-micro.git
				synced 2025-10-30 23:27:41 +02:00 
			
		
		
		
	Update Micro Auth Protocol Buffer to use V2 (#1155)
This commit is contained in:
		| @@ -5,14 +5,14 @@ package go_micro_auth | ||||
|  | ||||
| import ( | ||||
| 	fmt "fmt" | ||||
| 	proto "github.com/golang/protobuf/proto" | ||||
| 	math "math" | ||||
| ) | ||||
|  | ||||
| import ( | ||||
| 	context "context" | ||||
| 	client "github.com/micro/go-micro/client" | ||||
| 	server "github.com/micro/go-micro/server" | ||||
|  | ||||
| 	proto "github.com/golang/protobuf/proto" | ||||
|  | ||||
| 	client "github.com/micro/go-micro/v2/client" | ||||
| 	server "github.com/micro/go-micro/v2/server" | ||||
| ) | ||||
|  | ||||
| // Reference imports to suppress errors if they are not otherwise used. | ||||
|   | ||||
| @@ -4,9 +4,9 @@ import ( | ||||
| 	"context" | ||||
| 	"time" | ||||
|  | ||||
| 	"github.com/micro/go-micro/client" | ||||
| 	"github.com/micro/go-micro/v2/auth" | ||||
| 	pb "github.com/micro/go-micro/v2/auth/service/proto" | ||||
| 	"github.com/micro/go-micro/v2/client" | ||||
| ) | ||||
|  | ||||
| // NewAuth returns a new instance of the Auth service | ||||
|   | ||||
		Reference in New Issue
	
	Block a user