Update Micro Auth Protocol Buffer to use V2 (#1155)

This commit is contained in:
ben-toogood 2020-02-03 08:26:57 +00:00 committed by GitHub
parent d621548120
commit 1b9cabd654
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -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.

View File

@ -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