refactor: extract path logic to path.go and run go fmt on codebase
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
func GenerateID() string {
|
||||
return xid.New().String()
|
||||
}
|
||||
|
||||
// IsNumeric 检查字符串是否全为数字
|
||||
func IsNumeric(s string) bool {
|
||||
for _, c := range s {
|
||||
|
||||
Reference in New Issue
Block a user