-
I want to use this library for JWE. But I have the follwing problem: My code:
My go run:
My go version: go version go1.19.4 linux/amd64 I am new to Go. Help is highly appreciated. My code is inspired from: https://github.com/lestrrat-go/jwx/blob/develop/v2/jwe/jwe_test.go#L372 |
Beta Was this translation helpful? Give feedback.
Answered by
lestrrat
Jan 1, 2023
Replies: 1 comment 1 reply
-
You are importing v1 instead of v2. Your imports needs to point to the correct URL, see Lines 20 to 23 in 14f6c97 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
NeleOb
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You are importing v1 instead of v2. Your imports needs to point to the correct URL, see
jwx/jwe/jwe_test.go
Lines 20 to 23 in 14f6c97