Hacker News new | past | comments | ask | show | jobs | submit login

This is pretty neat. Functions that read from or write to http.Request.Body should be able to accept a Context object, assuming they take a Reader/Writer. If they take an http.Request, you're going to pass in Context.req, similar to how custom.Request would contain a custom.req field.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: