chore(backend): run go fmt on entire project to fix formatting#1187
Open
the-dev-z wants to merge 2 commits intoNoFxAiOS:devfrom
Open
chore(backend): run go fmt on entire project to fix formatting#1187the-dev-z wants to merge 2 commits intoNoFxAiOS:devfrom
the-dev-z wants to merge 2 commits intoNoFxAiOS:devfrom
Conversation
This commit runs 'go fmt ./trader/...' to fix code formatting issues that were causing CI/CD checks to fail. Changes: - Auto-formatted 15 trader files - No logic changes, only whitespace/formatting - Fixes 'Go Formatting:⚠️ Needs formatting' CI check Files formatted: - trader/aster_trader.go - trader/auto_trader.go - trader/bybit_trader.go - trader/lighter_*.go - trader/order_sync.go - trader/position_sync.go - and 9 more trader files 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit runs 'go fmt ./...' to fix ALL code formatting issues across the entire project, not just the trader directory. This is necessary because CI checks the entire project's formatting, and multiple files across different modules had formatting issues. Changes: - Auto-formatted 19 files across 6 modules - No logic changes, only whitespace/formatting - Fixes 'Go Formatting:⚠️ Needs formatting' CI check completely Affected modules: - api/ (2 files) - decision/ (3 files) - manager/ (1 file) - market/ (1 file) - mcp/ (7 files) - store/ (5 files) Total changes: +117 lines, -106 lines (formatting only) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Advisory Check ResultsThese are advisory checks to help improve code quality. They won't block your PR from being merged. 📋 PR InformationTitle Format: ✅ Good - Follows Conventional Commits 🔧 Backend ChecksGo Formatting: ✅ Good Fix locally: go fmt ./... # Format code
go vet ./... # Check for issues
go test ./... # Run tests⚛️ Frontend ChecksBuild & Type Check: ✅ Success Fix locally: cd web
npm run build # Test build (includes type checking)📖 ResourcesQuestions? Feel free to ask in the comments! 🙏 These checks are advisory and won't block your PR from being merged. This comment is automatically generated from pr-checks-run.yml. |
10 tasks
9384ffd to
5391f39
Compare
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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