How to share data in go‘s middlewares efficiently?
Known solutions:
Global map[interface{}]interface{}, it need type assertion and mutex, it is not i want.
Standard library: x/net/context, but I can not visit the golang.org(blocked by Great Firewall of China), can somebody provides some examples or articles? Thanks.
Could somebody tell me what other efficient solution?