ThreadLocal for Golang.
-
Updated
Aug 15, 2024 - Go
ThreadLocal for Golang.
Provides some convenient API, includes Goid(), GetG() and LocalStorage, which is a goroutine's local storage, just like ThreadLocal in other languages.
Goroutine Local Storage
Add a description, image, and links to the threadlocal topic page so that developers can more easily learn about it.
To associate your repository with the threadlocal topic, visit your repo's landing page and select "manage topics."