Reminds me of https://github.com/jtolio/gls which implement a "thread local storage" in golang