code: func GetClaims(token string) map[string]interface{} {
  	// decode the token
  	dec, err := newDecoded(token)
  	if err != nil {
  		return nil
  	}
  
  	// base64 decode payload
  	payload, err := base64.RawURLEncoding.DecodeString(dec.payload)
  	if err != nil {
  		return nil
  	}
  
  	dst := map[string]interface{}{}
  	err = json.Unmarshal(payload, &dst)
  	if err != nil {
  		return nil
  	}
  
  	return dst
  
  }
docs: // GetClaims() returns a token's claims, allowing
  // you to check the values to make sure they match