From: Shengjing Zhu 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"