Move out the token package to util

This commit is contained in:
Asim Aslam
2020-07-19 13:41:23 +01:00
parent 6920677f1e
commit d3326efd4b
11 changed files with 8 additions and 74 deletions

View File

@@ -6,8 +6,8 @@ import (
"time"
"github.com/micro/go-micro/v2/auth"
"github.com/micro/go-micro/v2/auth/token"
jwtToken "github.com/micro/go-micro/v2/auth/token/jwt"
"github.com/micro/go-micro/v2/util/token"
jwtToken "github.com/micro/go-micro/v2/util/token/jwt"
)
// NewAuth returns a new instance of the Auth service