go-in-5-minutes
go-in-5-minutes copied to clipboard
Using the MongoDB mgo driver
This issue is a follow-on from https://github.com/arschles/go-in-5-minutes/issues/43#issuecomment-205537261. We should have an episode on how to use the mgo driver.
more resourceful it would be if you include the context package from gorilla with the http.handler wrapper function like in this awesome article: https://medium.com/@matryer/the-http-handlerfunc-wrapper-technique-in-golang-c60bf76e6124#.9ne1dhxjz 🗡