hacky function for debugging
()
| 305 | |
| 306 | // hacky function for debugging |
| 307 | func getGID() uint64 { |
| 308 | b := make([]byte, 64) |
| 309 | b = b[:runtime.Stack(b, false)] |
| 310 | b = bytes.TrimPrefix(b, []byte("goroutine ")) |
| 311 | b = b[:bytes.IndexByte(b, ' ')] |
| 312 | n, _ := strconv.ParseUint(string(b), 10, 64) |
| 313 | return n |
| 314 | } |
no outgoing calls
no test coverage detected