优化代码

This commit is contained in:
刘祥超
2024-05-11 09:23:54 +08:00
parent f5596b4f0c
commit 777bbdf50b
116 changed files with 175 additions and 161 deletions

View File

@@ -3,8 +3,8 @@
package ttlcache
import (
"github.com/TeaOSLab/EdgeNode/internal/goman"
"github.com/TeaOSLab/EdgeNode/internal/zero"
"github.com/TeaOSLab/EdgeNode/internal/utils/goman"
"github.com/TeaOSLab/EdgeNode/internal/utils/zero"
"sync"
"time"
)

View File

@@ -3,7 +3,7 @@ package ttlcache_test
import (
"github.com/TeaOSLab/EdgeNode/internal/utils/testutils"
"github.com/TeaOSLab/EdgeNode/internal/utils/ttlcache"
"github.com/TeaOSLab/EdgeNode/internal/zero"
"github.com/TeaOSLab/EdgeNode/internal/utils/zero"
"github.com/cespare/xxhash/v2"
"runtime"
"strconv"