Source code for the book "Web Development with Go" published by Apress.
Sample REST API app with Go and MongoDB for chapter 9.
- Upgraded the package jwt-go and modified the source in common/auth.go.
- Authentication middleware now sets the user name into the HTTP Request context using package "github.com/gorilla/context".
- Added a logging implementation in common/logger.go.
- Minor code refactoring in the app.
Check out github.com/shijuvar/gokit for further examples on Go.