https://github.com/visualfc/gid
golang routine id
https://github.com/visualfc/gid
Last synced: 6 months ago
JSON representation
golang routine id
- Host: GitHub
- URL: https://github.com/visualfc/gid
- Owner: visualfc
- License: apache-2.0
- Created: 2023-06-14T13:17:53.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-28T13:23:40.000Z (over 1 year ago)
- Last Synced: 2025-02-02T02:21:39.671Z (about 1 year ago)
- Language: Go
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gid
golang routine id
- GopherJS use `$curGoroutine`
- Other GOOS/GOARCH use
```
import "github.com/visualfc/gid"
var id int64 = gid.Get()
```