Skip to content

docs: fix broken example link in README#504

Merged
oxisto merged 1 commit into
golang-jwt:mainfrom
Yanhu007:fix/readme-example-link
Apr 14, 2026
Merged

docs: fix broken example link in README#504
oxisto merged 1 commit into
golang-jwt:mainfrom
Yanhu007:fix/readme-example-link

Conversation

@Yanhu007
Copy link
Copy Markdown
Contributor

Fixes #501

The link to the "building and signing a token" example currently points to #example-New-Hmac, which no longer exists on pkg.go.dev. Updated to #example-NewWithClaims-Hmac which is the current anchor.

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 golang-jwt#501
@oxisto oxisto merged commit 1d7bc3f into golang-jwt:main Apr 14, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

an example link in the README needs to be updated

3 participants