🐛 Fixed errors caused by structure changes

This commit is contained in:
2025-04-19 13:37:27 +08:00
parent c3220c73db
commit ec0ba0e9d0
2 changed files with 10 additions and 10 deletions

View File

@@ -172,9 +172,9 @@ func monitoredCacheExample() {
func compressedCacheExample() {
// 创建压缩选项
compressOptions := cache.CompressOptions{
Enabled: true,
Level: 6,
MinSizeBytes: 100, // 最小压缩大小 (字节)
Enabled: true,
Level: 6,
MinSize: 100, // 最小压缩大小 (字节)
}
// 创建一个带默认缓存和压缩的PixelNebula实例