Skip to content

Commit 3b1f947

Browse files
authored
Merge pull request #53 from aidantwoods/v2-package-path
Add v2 in path for v2 alpha
2 parents 9bc11b0 + f8e847f commit 3b1f947

File tree

13 files changed

+22
-22
lines changed

13 files changed

+22
-22
lines changed

claims_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"testing"
77
"time"
88

9-
"aidanwoods.dev/go-paseto"
9+
"aidanwoods.dev/go-paseto/v2"
1010
"github.com/stretchr/testify/require"
1111
)
1212

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module aidanwoods.dev/go-paseto
1+
module aidanwoods.dev/go-paseto/v2
22

33
go 1.18
44

keys_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"crypto/rand"
88
"testing"
99

10-
"aidanwoods.dev/go-paseto"
10+
"aidanwoods.dev/go-paseto/v2"
1111
"github.com/stretchr/testify/require"
1212
)
1313

message.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package paseto
33
import (
44
"strings"
55

6-
"aidanwoods.dev/go-paseto/internal/encoding"
6+
"aidanwoods.dev/go-paseto/v2/internal/encoding"
77
t "aidanwoods.dev/go-result"
88
)
99

parser_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package paseto_test
33
import (
44
"testing"
55

6-
"aidanwoods.dev/go-paseto"
6+
"aidanwoods.dev/go-paseto/v2"
77
"github.com/stretchr/testify/require"
88
)
99

token_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"testing"
66
"time"
77

8-
"aidanwoods.dev/go-paseto"
8+
"aidanwoods.dev/go-paseto/v2"
99
"github.com/stretchr/testify/require"
1010
)
1111

v2.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package paseto
33
import (
44
"crypto/ed25519"
55

6-
"aidanwoods.dev/go-paseto/internal/encoding"
7-
"aidanwoods.dev/go-paseto/internal/hashing"
8-
"aidanwoods.dev/go-paseto/internal/random"
6+
"aidanwoods.dev/go-paseto/v2/internal/encoding"
7+
"aidanwoods.dev/go-paseto/v2/internal/hashing"
8+
"aidanwoods.dev/go-paseto/v2/internal/random"
99
t "aidanwoods.dev/go-result"
1010
"golang.org/x/crypto/chacha20poly1305"
1111
)

v2_keys.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"crypto/ed25519"
55
"encoding/hex"
66

7-
"aidanwoods.dev/go-paseto/internal/encoding"
8-
"aidanwoods.dev/go-paseto/internal/random"
7+
"aidanwoods.dev/go-paseto/v2/internal/encoding"
8+
"aidanwoods.dev/go-paseto/v2/internal/random"
99
t "aidanwoods.dev/go-result"
1010
)
1111

v3.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"crypto/sha512"
1010
"math/big"
1111

12-
"aidanwoods.dev/go-paseto/internal/encoding"
13-
"aidanwoods.dev/go-paseto/internal/random"
12+
"aidanwoods.dev/go-paseto/v2/internal/encoding"
13+
"aidanwoods.dev/go-paseto/v2/internal/random"
1414
t "aidanwoods.dev/go-result"
1515
)
1616

v3_keys.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"io"
99
"math/big"
1010

11-
"aidanwoods.dev/go-paseto/internal/encoding"
12-
"aidanwoods.dev/go-paseto/internal/random"
11+
"aidanwoods.dev/go-paseto/v2/internal/encoding"
12+
"aidanwoods.dev/go-paseto/v2/internal/random"
1313
t "aidanwoods.dev/go-result"
1414
"golang.org/x/crypto/hkdf"
1515
)

0 commit comments

Comments
 (0)