添加过期移除

This commit is contained in:
Yun
2024-01-23 13:37:51 +08:00
parent 10ecbce64f
commit 60ad89f164
6 changed files with 68 additions and 7 deletions
+2
View File
@@ -3,6 +3,7 @@ package loggerx_test
import (
"context"
"testing"
"time"
"code.yun.ink/pkg/loggerx"
)
@@ -20,4 +21,5 @@ func TestLogger(t *testing.T) {
l.Info(context.Background(), "test info")
time.Sleep(time.Second * 2)
}