I'm busy implementing a caching layer in an AppEngine application, and from what I have found goon (
github.com/mjibson/goon) seems the best option. However to use it, one has to pass in the *http.Request instead of the more common context.Context. Goon then uses the request to generate a new context.
My concern is that (for many reasons) I already have a context created in my app with a call to appengine.NewContext(r), so now there will be two separate calls to generate a context. Is this likely to be a problem?
Alternatively I could fork goon and simply change one of the functions ( NewGoon(r) ) to instead take in a context.Context, which would remove any possible issues. However I'm then stuck with a fork that I have to maintain, which I'm not terribly excited about. I'd appreciate any suggestions or feedback on this, especially from anyone that has dealt with this already.