Commit 54a180ee authored by Dave Grijalva's avatar Dave Grijalva

Merge pull request #12 from hermanjunge/patch-2

Update README.md
parents bdb2a327 717503fc
......@@ -10,7 +10,7 @@ This library is considered production ready. Feedback and feature requests are
return myLookupKey(token.Header["kid"])
})
if !err && token.Valid {
if err == null && token.Valid {
deliverGoodness("!")
} else {
deliverUtterRejection(":(")
......@@ -26,4 +26,4 @@ This library is considered production ready. Feedback and feature requests are
tokenString, err := token.SignedString(mySigningKey)
```
Documentation can be found [here](http://godoc.org/github.com/dgrijalva/jwt-go)
\ No newline at end of file
Documentation can be found [here](http://godoc.org/github.com/dgrijalva/jwt-go)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment