Skip to content

Commit 1d7bc3f

Browse files
authored
docs: fix broken example link in README (#504)
The link to the 'building and signing a token' example pointed to #example-New-Hmac which no longer exists. Update to the correct anchor #example-NewWithClaims-Hmac. Fixes #501
1 parent 60c0a2f commit 1d7bc3f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ for examples of usage:
9898
* [Simple example of parsing and validating a
9999
token](https://pkg.go.dev/github.com/golang-jwt/jwt/v5#example-Parse-Hmac)
100100
* [Simple example of building and signing a
101-
token](https://pkg.go.dev/github.com/golang-jwt/jwt/v5#example-New-Hmac)
101+
token](https://pkg.go.dev/github.com/golang-jwt/jwt/v5#example-NewWithClaims-Hmac)
102102
* [Directory of
103103
Examples](https://pkg.go.dev/github.com/golang-jwt/jwt/v5#pkg-examples)
104104

0 commit comments

Comments
 (0)