Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cch123/goroutineid
extract goroutine id to the out world although it's dangerous and useless.
https://github.com/cch123/goroutineid
assembly go golang goroutine goroutineid id plan9
Last synced: 3 months ago
JSON representation
extract goroutine id to the out world although it's dangerous and useless.
- Host: GitHub
- URL: https://github.com/cch123/goroutineid
- Owner: cch123
- Created: 2018-04-25T11:48:04.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-05-29T06:17:14.000Z (over 4 years ago)
- Last Synced: 2024-10-11T22:12:08.626Z (4 months ago)
- Topics: assembly, go, golang, goroutine, goroutineid, id, plan9
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 58
- Watchers: 1
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Overview
Extract goroutine id to the out world although it's dangerous and useless.
## Demo
```go
package main
import "github.com/cch123/goroutineid"func main() {
id := goroutineid.GetGoID()
println(id) // 1
}
```## Supported Versions
```go
"go1.4": 128,
"go1.4.1": 128,
"go1.4.2": 128,
"go1.4.3": 128,
"go1.5": 184,
"go1.5.1": 184,
"go1.5.2": 184,
"go1.5.3": 184,
"go1.5.4": 184,
"go1.6": 192,
"go1.6.1": 192,
"go1.6.2": 192,
"go1.6.3": 192,
"go1.6.4": 192,
"go1.7": 192,
"go1.7.1": 192,
"go1.7.2": 192,
"go1.7.3": 192,
"go1.7.4": 192,
"go1.7.5": 192,
"go1.7.6": 192,
"go1.8": 192,
"go1.8.1": 192,
"go1.8.2": 192,
"go1.8.3": 192,
"go1.8.4": 192,
"go1.8.5": 192,
"go1.9": 152,
"go1.9.1": 152,
"go1.9.2": 152,
"go1.10": 152,
"go1.10.1": 152,
```