迁移配置表

This commit is contained in:
flswld
2023-01-18 15:38:50 +08:00
parent 62ae866b1e
commit a00bee14d0
882 changed files with 1639 additions and 324485 deletions

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
}