File: change-path-of-jwt-go.patch

package info (click to toggle)
golang-github-labstack-echo.v3 3.3.5-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 936 kB
  • sloc: makefile: 22
file content (30 lines) | stat: -rw-r--r-- 745 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Description: Update path of jwt-go version 3
Forwarded: not-needed
Author: Nobuhiro Iwamatsu <iwamatsu@debian.org>

diff --git a/middleware/jwt.go b/middleware/jwt.go
index e98040a..fef14b1 100644
--- a/middleware/jwt.go
+++ b/middleware/jwt.go
@@ -6,7 +6,7 @@ import (
 	"reflect"
 	"strings"
 
-	"github.com/dgrijalva/jwt-go"
+	"github.com/dgrijalva/jwt-go-v3"
 	"github.com/labstack/echo"
 )
 
diff --git a/middleware/jwt_test.go b/middleware/jwt_test.go
index b72eb40..5802ce4 100644
--- a/middleware/jwt_test.go
+++ b/middleware/jwt_test.go
@@ -5,7 +5,7 @@ import (
 	"net/http/httptest"
 	"testing"
 
-	"github.com/dgrijalva/jwt-go"
+	"github.com/dgrijalva/jwt-go-v3"
 	"github.com/labstack/echo"
 	"github.com/stretchr/testify/assert"
 )