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 31 32 33 34 35
|
From: Shengjing Zhu <zhsj@debian.org>
Date: Fri, 21 Jul 2023 17:38:17 +0800
Subject: migrate to github.com/golang-jwt/jwt
---
services/httpd/handler.go | 2 +-
services/httpd/handler_test.go | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/services/httpd/handler.go b/services/httpd/handler.go
index dfeaf91..3d4b77e 100644
--- a/services/httpd/handler.go
+++ b/services/httpd/handler.go
@@ -21,7 +21,7 @@ import (
"time"
"github.com/bmizerany/pat"
- "github.com/dgrijalva/jwt-go"
+ "github.com/golang-jwt/jwt"
"github.com/gogo/protobuf/proto"
"github.com/golang/snappy"
"github.com/influxdata/influxdb"
diff --git a/services/httpd/handler_test.go b/services/httpd/handler_test.go
index 0d25ff8..c3c203d 100644
--- a/services/httpd/handler_test.go
+++ b/services/httpd/handler_test.go
@@ -18,7 +18,7 @@ import (
"testing"
"time"
- "github.com/dgrijalva/jwt-go"
+ "github.com/golang-jwt/jwt"
"github.com/gogo/protobuf/proto"
"github.com/golang/snappy"
"github.com/google/go-cmp/cmp"
|