go-in-5-minutes icon indicating copy to clipboard operation
go-in-5-minutes copied to clipboard

Using the MongoDB mgo driver

Open arschles opened this issue 8 years ago • 1 comments

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.

arschles avatar May 14 '16 19:05 arschles

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 🗡

thapakazi avatar Nov 20 '16 17:11 thapakazi