14 lines
196 B
Go
14 lines
196 B
Go
package runtimex_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"code.yun.ink/open/utils/runtimex"
|
|
)
|
|
|
|
func TestGetgId(t *testing.T) {
|
|
t.Log("测试获取goroutine_id")
|
|
t.Log("goroutine_id:", runtimex.GetGid())
|
|
|
|
}
|