What assistance does golang have for the web server session state layout pattern? What is the common means to apply it? Does the gorilla/mux have assistance for it?
In a remainder api, is making use of a context for every demand, an application of this pattern, or something various (that would certainly be a lot more like a demand session state)?
Usually approved pattern is to utilize middleware to include things to your demand context similar to this: