routine
routine copied to clipboard
Provides some convenient API, includes Goid(), GetG() and LocalStorage, which is a goroutine's local storage, just like ThreadLocal in other languages.
go version go1.20.4 darwin/amd64 ```sh # github.com/go-eden/routine/internal/g.test github.com/go-eden/routine/internal/g.getg0: relocation target type.runtime.g not defined FAIL github.com/go-eden/routine/internal/g [build failed] ```
目前是不是不支持go1.21版本,我尝试了一下报错 github.com/go-eden/routine/internal/g.getg0: relocation target type.runtime.g not defined
The owner @sisyphsu cannot login GitHub, so this library couldn't be maintained until he find the way to login...