I put this repo together so there would be something up for the video showing a JWT example using Go from WilliamKennedy's Youtube page.
The presenter is using the following resources to authenticate with JWTs:
$ git clone git@github.com:nicholasrucci/jwt-go-example.git
$ cd jwt-go-example
$ openssl genrsa -out demo.rsa
$ openssl rsa -in demo.rsa -pubout > demo.rsa.pub
$ curl localhost:3000/login
// returns JWT
$ curl -H "Authorization: Bearer <JWT>" localhost:3000/api
// if valid: returns Success
// else: error