init project
This commit is contained in:
commit
d63cc8d9f5
33 files changed
+1529
No files matched your search
@@ -0,0 +1,17 @@
|
||||
package util
|
||||
|
||||
import (
|
||||
"strings"
|
||||
|
||||
"git.xiaotuo.co/pkg/tool/stringx"
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
func MakeRequestID() string {
|
||||
return stringx.MakeUUID()
|
||||
}
|
||||
|
||||
func MakeTaskNo() string {
|
||||
taskNo := uuid.NewString()
|
||||
return strings.ReplaceAll(taskNo, "-", "")
|
||||
}
|
||||
Reference in new issue
Block a user