Update Micro Auth Protocol Buffer to use V2 (#1155)
This commit is contained in:
parent
d621548120
commit
1b9cabd654
@ -5,14 +5,14 @@ package go_micro_auth
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
fmt "fmt"
|
fmt "fmt"
|
||||||
proto "github.com/golang/protobuf/proto"
|
|
||||||
math "math"
|
math "math"
|
||||||
)
|
|
||||||
|
|
||||||
import (
|
|
||||||
context "context"
|
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.
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
|
@ -4,9 +4,9 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/micro/go-micro/client"
|
|
||||||
"github.com/micro/go-micro/v2/auth"
|
"github.com/micro/go-micro/v2/auth"
|
||||||
pb "github.com/micro/go-micro/v2/auth/service/proto"
|
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
|
// NewAuth returns a new instance of the Auth service
|
||||||
|
Loading…
Reference in New Issue
Block a user