优化部分存在的问题

This commit is contained in:
Yun
2026-05-27 10:56:37 +08:00
parent fa359b2b1a
commit 448116dc0d
11 changed files with 109 additions and 90 deletions
+4 -1
View File
@@ -17,7 +17,10 @@ type Options struct {
func defaultOptions() Options {
u, _ := uuid.NewV7()
u, err := uuid.NewV7()
if err != nil {
u = uuid.New()
}
return Options{
logger: logger.NewLogger(),