Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

4 Comments

  1. Hello
    I’m new to go programming language
    I’m having trouble understanding the following code

    Token Controller – Generating JWTs in Golang
    at line 37:
    claims, ok := token.Claims.(*JWTClaim)

    Why Interface “Claims” can Extract and Map to JWTClaim?