https://github.com/silentred/gid
A tiny library to get current goroutine id
https://github.com/silentred/gid
goroutine
Last synced: 12 months ago
JSON representation
A tiny library to get current goroutine id
- Host: GitHub
- URL: https://github.com/silentred/gid
- Owner: silentred
- License: mit
- Created: 2017-09-01T14:32:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-06-30T07:26:21.000Z (almost 3 years ago)
- Last Synced: 2024-11-01T13:52:21.617Z (over 1 year ago)
- Topics: goroutine
- Language: Go
- Homepage:
- Size: 14.6 KB
- Stars: 91
- Watchers: 11
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Get id of a goroutine



[](https://goreportcard.com/report/github.com/silentred/gid)
[](https://app.travis-ci.com/github/silentred/gid)
## Feature
- easy to use
- tiny size
## Usage
```
id := gid.Get()
```
## Support
- go 1.5
- go 1.6
- go 1.7
- go 1.8
- go 1.9
- go 1.10
- go 1.11
- go 1.12
- go 1.13
- go 1.14
- go 1.15
- go 1.16
- go 1.17