封装的方法类
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package runtimex_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"yunink/app/pkg/runtimex"
|
||||
)
|
||||
|
||||
func TestGetgId(t *testing.T) {
|
||||
t.Log("测试获取goroutine_id")
|
||||
t.Log("goroutine_id:", runtimex.GetGid())
|
||||
}
|
||||
Reference in New Issue
Block a user