style(go): 清掉存量 gofmt(6 个文件的字段对齐与文件末尾换行)

接入格式门禁前先量了一次存量:gofmt -l 在 295 个被跟踪的 .go 文件里报 6 个,
全是字段对齐与缺文件末尾换行这类机械问题。先一次性清干净,门禁接上后 Go 侧一条都不欠。

为什么独立一个提交:格式清理混进功能改动会让 diff 无法 review(正本要求存量清理独立提交)。
验证:gofmt -l 对被跟踪的 .go 文件输出为空;go vet 与 go test 全过。
This commit is contained in:
姚章浩
2026-10-12 00:10:31 +08:00
parent 5f3a71cade
commit c04abd6530
6 changed files with 8 additions and 8 deletions
@@ -82,4 +82,4 @@ VALUES('conn-head','snap-head',now());`); err != nil {
if item.StartedAt.IsZero() {
t.Fatal("started_at should carry the scan start so the page can show a time")
}
}
}