fix: 修复所有 golangci-lint 错误

- goimports: 修复 3 个文件的导入顺序
- ineffassign: 移除无效的变量初始化
- staticcheck SA9003: 修复空分支问题
This commit is contained in:
2026-04-20 09:35:56 +08:00
parent d91b9744fa
commit 3863c9d480
7 changed files with 12 additions and 21 deletions
+1
View File
@@ -3,6 +3,7 @@ package model
import (
"next-terminal/server/common"
"next-terminal/server/utils"
"strings"
)