ifms_go/pkg/util/id_test.go
2025-06-10 17:50:46 +08:00

15 lines
220 B
Go

package util
import (
"strings"
"testing"
)
func TestNewXID(t *testing.T) {
t.Logf("xid: %s", strings.ToUpper(NewXID()))
}
func TestMustNewUUID(t *testing.T) {
t.Logf("uuid: %s", strings.ToUpper(MustNewUUID()))
}