摘要: ```golang // GetId 获取goroutine的id号 func GetId() uint64 { b := make([]byte, 64) b = b[:runtime.Stack(b, false)] b = bytes.TrimPrefix(b, []byte("gorouti 阅读全文
posted @ 2023-05-20 11:47 专职 阅读(211) 评论(0) 推荐(0) 编辑