title: How to decode a JWT token in Go?
body: <p>I am currently working on a Go application. I receive a JWT token from the client side and I need to decode that token and obtain the relevant information: user, name, etc.</p>
  <p>I was checking the libraries that are available to handle JWT tokens and I came down to <a href="https://github.com/dgrijalva/jwt-go" rel="nofollow noreferrer"><code>dgrijalva/jwt-go</code></a>, but I don't see how to accomplish my goal in a simple way.</p>
  <p>I have the token and I need to decode the info into a map or at least a json. How can I do it?</p>