1 parent
ea5198a5b9
commit
8cd1292a41
4 files changed
+120
-82
No files matched your search
@@ -8,8 +8,9 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
jwt "github.com/dgrijalva/jwt-go"
|
||||
//jwt "github.com/dgrijalva/jwt-go"
|
||||
"github.com/gin-gonic/gin"
|
||||
jwt "github.com/golang-jwt/jwt/v5"
|
||||
)
|
||||
|
||||
func GenerateToken(user_id uint) (string, error) {
|
||||
|
||||
Reference in new issue
Block a user