迁移配置表

This commit is contained in:
flswld committed 2023-01-18 19:33:52 +08:00
1 parent 62ae866b1e
commit a00bee14d0
882 files changed
+1639 -324485

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
//go:build linux
// +build linux
package logger
import (
"strconv"
"golang.org/x/sys/unix"
)
func (l *Logger) getThreadId() (threadId string) {
tid := unix.Gettid()
threadId = strconv.Itoa(tid)
return threadId
}