Skip to content

Commit 9f15307

Browse files
author
ryannjohnson-range
authored
Replace "dgrijalva/jwt-go" with "golang-jwt/jwt" (SherClockHolmes#43)
1 parent d50c866 commit 9f15307

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module github.com/SherClockHolmes/webpush-go
22

33
require (
4-
github.com/dgrijalva/jwt-go v3.2.0+incompatible
4+
github.com/golang-jwt/jwt v3.2.2+incompatible
55
golang.org/x/crypto v0.0.0-20190131182504-b8fe1690c613
66
)
77

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
github.com/dgrijalva/jwt-go v3.2.0+incompatible h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM=
2-
github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ=
1+
github.com/golang-jwt/jwt v3.2.2+incompatible h1:IfV12K8xAKAnZqdXVzCZ+TOjboZ2keLg81eXfW3O+oY=
2+
github.com/golang-jwt/jwt v3.2.2+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I=
33
golang.org/x/crypto v0.0.0-20190131182504-b8fe1690c613 h1:MQ/ZZiDsUapFFiMS+vzwXkCTeEKaum+Do5rINYJDmxc=
44
golang.org/x/crypto v0.0.0-20190131182504-b8fe1690c613/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=

vapid.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"net/url"
1111
"time"
1212

13-
jwt "github.com/dgrijalva/jwt-go"
13+
"github.com/golang-jwt/jwt"
1414
)
1515

1616
// GenerateVAPIDKeys will create a private and public VAPID key pair

vapid_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"strings"
77
"testing"
88

9-
jwt "github.com/dgrijalva/jwt-go"
9+
"github.com/golang-jwt/jwt"
1010
)
1111

1212
func TestVAPID(t *testing.T) {

0 commit comments

Comments
 (0)