title: Does Go have something like ThreadLocal from Java?
body: <p>I use Go and Gin to setup my website and want to know the database access time. I use goroutine so if don't use something like thread-local, I must change almost every function to do it. Does Go have a good way to do it?</p>