From 34f37efa14ebd0cd60371a73d7873bdee32ebcc8 Mon Sep 17 00:00:00 2001 From: xfy Date: Fri, 12 Jun 2026 11:08:26 +0800 Subject: [PATCH] style: fix gofumpt formatting in fileinfo_cache and proxy --- internal/handler/fileinfo_cache.go | 4 ++-- internal/proxy/proxy.go | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/internal/handler/fileinfo_cache.go b/internal/handler/fileinfo_cache.go index e9798b4..8b800ae 100644 --- a/internal/handler/fileinfo_cache.go +++ b/internal/handler/fileinfo_cache.go @@ -20,8 +20,8 @@ import ( ) const ( - fileInfoCacheMaxEntries = 2000 - defaultFileInfoCacheTTL = 10 * time.Second + fileInfoCacheMaxEntries = 2000 + defaultFileInfoCacheTTL = 10 * time.Second defaultFileNotFoundCacheTTL = 2 * time.Second ) diff --git a/internal/proxy/proxy.go b/internal/proxy/proxy.go index 852376c..6510cd0 100644 --- a/internal/proxy/proxy.go +++ b/internal/proxy/proxy.go @@ -27,7 +27,6 @@ // - Lua 脚本执行有超时保护,默认 100ms // // 作者:xfy -// package proxy import (