Fix lint errors

This commit is contained in:
世界
2026-05-13 22:37:05 +08:00
parent 429182a349
commit a47f39fa2b
79 changed files with 219 additions and 667 deletions

View File

@@ -112,7 +112,7 @@ func (c *CacheFile) Start(stage adapter.StartStage) error {
db *bbolt.DB
err error
)
for i := 0; i < 10; i++ {
for range 10 {
db, err = bbolt.Open(c.path, fileMode, &options)
if err == nil {
break