chore(backend): run go fmt on entire project to fix formatting #1187
+219
−210
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
摘要
修復整個專案的 Go 程式碼格式,以通過 CI 格式檢查。
變更內容
go fmt ./...格式化所有 Go 檔案trader/目錄:15 個檔案api/:2 個檔案decision/:3 個檔案manager/:1 個檔案market/:1 個檔案mcp/:7 個檔案store/:5 個檔案類型
測試
備註
此 PR 從 #1186 拆分出來,專門處理 Go 格式化問題,讓類型斷言安全修復的 PR 保持專注。
關聯 PR: #1186