mirror of https://github.com/golang-jwt/jwt.git
Bump matrix to support latest go version (go1.19) (#231)
* Bump matrix to support latest go version (go1.19) * Fix comment
This commit is contained in:
parent
fdaf0eb0e0
commit
d81acbf7f3
|
@ -25,7 +25,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
go: [1.16, 1.17, 1.18]
|
go: [1.17, 1.18, 1.19]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
//
|
//
|
||||||
// Example usage:
|
// Example usage:
|
||||||
// The following will create and sign a token, then verify it and output the original claims.
|
// The following will create and sign a token, then verify it and output the original claims.
|
||||||
|
//
|
||||||
// echo {\"foo\":\"bar\"} | bin/jwt -key test/sample_key -alg RS256 -sign - | bin/jwt -key test/sample_key.pub -verify -
|
// echo {\"foo\":\"bar\"} | bin/jwt -key test/sample_key -alg RS256 -sign - | bin/jwt -key test/sample_key.pub -verify -
|
||||||
package main
|
package main
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue